← ClaudeAtlas

provenancelisted

Trace knowledge artifact lineage and sources. Find orphans, stale citations. Triggers: "where did this come from", "trace this learning", "knowledge lineage".
boshu2/agentops · ★ 369 · AI & Automation · score 80
Install: claude install-skill boshu2/agentops
# Provenance Skill Trace knowledge artifact lineage to sources. ## Execution Steps Given `$provenance <artifact>`: ### Step 1: Read the Artifact ``` Tool: Read Parameters: file_path: <artifact-path> ``` Look for provenance metadata: - Source references - Session IDs - Dates - Related artifacts ### Step 2: Trace Source Chain ```bash # Check for source metadata in the file grep -i "source\|session\|from\|extracted" <artifact-path> # Search for related transcripts using ao ao search "<artifact-name>" 2>/dev/null ``` ### Step 3: Search Session Transcripts with CASS **Use CASS to find when this artifact was discussed:** ```bash # Extract artifact name for search artifact_name=$(basename "<artifact-path>" .md) # Search session transcripts cass search "$artifact_name" --json --limit 5 ``` **Parse CASS results to find:** - Sessions where artifact was created/discussed - Timeline of references - Related sessions by workspace **CASS JSON output fields:** ```json { "hits": [{ "title": "...", "source_path": "/path/to/session.jsonl", "created_at": 1766076237333, "score": 18.5, "agent": "claude_code" }] } ``` ### Step 4: Build Lineage Chain ``` Transcript (source of truth) ↓ Forge extraction (candidate) ↓ Human review (promotion) ↓ Pattern recognition (tier-up) ↓ Skill creation (automation) ``` ### Step 5: Write Provenance Report ```markdown # Provenance: <artifact-name> ## Current State - **Tier:** <0-3> - **Created:** <date> -