Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add JetXu-LLM/DocMason --skill provenance-tracegit clone --depth 1 https://github.com/JetXu-LLM/DocMasonWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/jetxu-llm/docmason/provenance-trace)<a href="https://agentmods.dev/skills/jetxu-llm/docmason/provenance-trace"><img src="https://agentmods.dev/badge/skills/jetxu-llm/docmason/provenance-trace/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/jetxu-llm/docmason/provenance-trace"><img src="https://agentmods.dev/badge/skills/jetxu-llm/docmason/provenance-trace.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00024 | $0.00917 |
| Opus 5.5 | $0.00010 | $0.00367 |
| Sonnet 5.5 | $0.00005 | $0.00183 |
| Haiku 4.5 | $0.00002 | $0.00092 |
Grade A, and why
provenance-trace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 76 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Provenance Trace
Use this skill when the task is to prove where a knowledge object or answer came from.
Use it directly for explicit provenance or citation requests, or let ask route here automatically.
Direct public trace remains a legal operator provenance surface.
It does not substitute for canonical ask when the user is really asking for ordinary answer completion.
Required Capabilities
- local file access
- shell or command execution
- ability to inspect structured JSON output
If the agent cannot inspect the local trace artifacts or source evidence, stop and explain that reliable provenance tracing is not possible.
Procedure
- Use
currentas the default knowledge-base target unless the task explicitly says otherwise. - For citation-first tracing, run:
docmason trace --source-id <source_id> --json --compact- optionally add
--unit-id <unit_id>for unit-level detail - if you genuinely need nested support objects or detailed render metadata, rerun full
--jsonto a local file and inspect it selectively instead of pasting the raw payload into chat - keep DocMason workspace commands sequential inside the same workspace session; do not overlap
trace,retrieve,sync,status, orvalidate-kbwhile a lease-owning command is still active
- For answer-first tracing, run:
docmason trace --answer-file <path> --json --compact- or
docmason trace --session-id <session_id> --json --compact - do not invent a new freeform
--source-refsurface in this phase; public trace remains ID-first
- Inspect:
payload_detail- any inherited
reference_resolutionblock on answer-first traces answer_state- source provenance
- unit consumers
- incoming and outgoing relations
- grounding status for each answer segment
- compact
supporting_source_ids - compact
supporting_unit_ids supporting_artifact_idssupporting_overlay_unit_ids- segment
support_lane_counts - segment
artifact_support_count - segment
semantic_support_count - artifact
focus_render_assetswhen present - render-inspection requirements
- if the provenance judgment depends on nested
artifact_supports,semantic_supports, overlay consumed inputs, covered slots, blocked slots, render refs,render_page_span,bbox,normalized_bbox, or sidecar paths, inspect a file-first full trace capture instead of the raw chat payload
- If any segment is only partially grounded or unresolved, say so explicitly and avoid pretending stronger provenance than the trace supports.
- Return the final provenance or groundedness judgment to the main agent instead of treating trace output as a final user answer by itself.
- If you need to export a scratch trace note and the user did not specify a destination, place it under
runtime/agent-work/.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 76 lines · 24 tokens per session scan A 1bd17c611352
provenance-trace is a skill published in the GitHub repository JetXu-LLM/DocMason (152 stars, last pushed 4d ago), licensed Apache-2.0. It adds 24 tokens to every session and 917 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
provenance-trace compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| provenance-traceJetXu-LLM/DocMason | Skill | 152 | 4d ago | Apache-2.0 | A | 24 | Claude Code, Codex |
| openloreaakarim/OpenLore | Skill | 2.0k | 9d ago | Apache-2.0 | A | 42 | Claude Code, Codex |
| openlore-housekeepingaakarim/OpenLore | Skill | 2.0k | 9d ago | Apache-2.0 | A | 48 | Claude Code, Codex |
| openkb-deck-neonVectifyAI/OpenKB | Skill | 5.0k | 4mo ago | Apache-2.0 | A | 173 | Claude Code, Codex |
| openkb-deck-editorialVectifyAI/OpenKB | Skill | 5.0k | 4mo ago | Apache-2.0 | A | 117 | Claude Code, Codex |
| openkb-html-criticVectifyAI/OpenKB | Skill | 5.0k | 4mo ago | Apache-2.0 | A | 132 | Claude Code, Codex |
| transformer-attentionVectifyAI/OpenKB | Skill | 5.0k | 4mo ago | Apache-2.0 | A | 46 | Claude Code, Codex |