- Add PolicySourceStore for tracking where policies come from - Implement claim extraction skill and API endpoints - Add community UI text selection extractor component - Create Go SDK aphoria client for policy operations - Document patent specifications and legal disclosures - Add guides: golden path loop, policy audit trails, pre-flight checks - Expand Unreal Engine config extractor with source tracking - Add UAT reports for policy source tracking validation - Refactor tests.rs into modular test files Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1.2 KiB
1.2 KiB
| description |
|---|
| Extract entity-level claims from text for StemeDB ingestion |
Extract entity-level claims from the provided text using the extract-claims skill.
Usage: /extract-claims "Your text or paste content here"
What this does:
- Analyzes the text for all mentioned entities (explicit and implied)
- Extracts a SEPARATE claim for EACH entity mentioned
- Identifies implicit claims (category membership, relationships)
- Assigns confidence scores based on language hedging
- Returns structured JSON ready for StemeDB API
Example:
/extract-claims "Every mainstream database, from PostgreSQL to MongoDB to Neo4j, enforces single value per key."
This would extract 7 claims:
- 4 storage_model claims (one per database + category)
- 3 is_mainstream claims (implicit category membership)
For CLI usage:
# From text
npx tsx community/scripts/extract-claims.ts --text "Your text" --source-class Expert
# From file and submit
npx tsx community/scripts/extract-claims.ts --file article.txt --source-class Clinical --submit
# Dry run from stdin
cat paper.txt | npx tsx community/scripts/extract-claims.ts --stdin --dry-run
Load the extract-claims skill for full extraction methodology.