artifact-graph

artifact-graph is a skill for Claude Code from EmpiricaAI/empirica. It costs 153 tokens per session (2,012 once invoked), scanned A, original, MIT.

A guide to recording project knowledge as a connected graph of findings, assumptions, decisions, unknowns, mistakes, and dead ends. It explains how to choose the right type, link related records, and retract claims that prove false.

In plain words
What is it for?
Use it when logging several observations, deciding what kind of record an observation is, connecting records, or correcting a false claim.
Why use it?
It prevents different kinds of information from being flattened into one misleading list. That makes the recorded reasoning easier to retrieve and correct.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the empirica plugin — 29 skills, 2 commands, 4 agents shipped together

Good fit Use it when logging several observations, deciding what kind of record an observation is, connecting records, or correcting a false claim.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/empiricaai/empirica/artifact-graph
Install

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.

Any agent
npx skills add EmpiricaAI/empirica --skill artifact-graph
Clone the repo
git clone --depth 1 https://github.com/EmpiricaAI/empirica

Made for: Claude Code.

Or install empirica, the plugin that ships this one along with the rest of its 29 skills, 2 commands, 4 agents.

Wrote 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.

agentmods badge for artifact-graph

README.md
[![agentmods](https://agentmods.dev/badge/skills/empiricaai/empirica/artifact-graph/github.svg)](https://agentmods.dev/skills/empiricaai/empirica/artifact-graph)
Your own site
<a href="https://agentmods.dev/skills/empiricaai/empirica/artifact-graph"><img src="https://agentmods.dev/badge/skills/empiricaai/empirica/artifact-graph/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.

agentmods 80×15 button for artifact-graph

Your own site · 80×15
<a href="https://agentmods.dev/skills/empiricaai/empirica/artifact-graph"><img src="https://agentmods.dev/badge/skills/empiricaai/empirica/artifact-graph.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,012 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00153 $0.02012
Opus 5.5 $0.00061 $0.00805
Sonnet 5.5 $0.00031 $0.00402
Haiku 4.5 $0.00015 $0.00201

Measured 16d ago against content hash 4087409b7038, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

artifact-graph 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 16d 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.

empirica/plugins/claude-code-integration/skills/artifact-graph/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Artifact graph

The depth behind the prompt's artifact-type table, for the moment you log, connect, close or share. The full reference, with diagrams of every lifecycle and where each type is stored, is docs/reference/ARTIFACT_GRAPH.md. The vocabularies are the ones empirica log-artifacts --schema and empirica resolve-artifacts --schema print; when this skill and a schema disagree, the schema is right.


The graph is the artifact

The epistemic layer is a typed graph, and both words carry weight. Two failure modes degrade it, and both are silent: nothing errors, the graph simply stops being able to answer.

Type collapse

Every type answers a different question; flatten them and retrieval returns a pile you cannot reason over. The prompt's table is the reference for the six everyday types. The seventh, the falsifier, answers "what OBSERVATION would refute a belief I am acting on?". It is registered before the evidence (the falsifiers array at PREFLIGHT or CHECK, naming its parent artifact) and outlives the transaction. The two confusions worth repeating: a defect in the code is a finding and shipping it is a mistake; something unverified is an assumption and something you know you don't know is an unknown.

The symptom: a session logs dozens of findings and no unknowns or assumptions while its vectors report uncertainty. The uncertainty was real; the typing was not done. Vector uncertainty with no unknown or assumption behind it is an unsupported claim.

Split before you log

Scan your artifact for proper nouns, identities, versions, attributions: anything a reader could act on that you did not directly observe. Of each, ask: did I observe this, or supply it? Supplied is an assumption however confident you are.

An artifact is read as a unit, so a tag on the whole cannot mark part of it: epistemic_source, a confidence and a caveat in the prose are all honest, and none stops a reader lifting the name out of the sentence. Split, and the wrong half retracts without losing the right one. The types already carry this: when it goes wrong the typing failed, not the vocabulary.

Read the full file on GitHub · 138 lines

Files

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.

Changes

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.

  1. 16d ago Changed 4087409b7038
  2. 22d ago Changed · +11 lines · +44 tokens per session c7f4eba1b32b
  3. 1mo ago Changed 16bef305b542
  4. 1mo ago First seen · 127 lines · 109 tokens per session scan A b5f3d91ee442

Subscribe to this mod's changes

artifact-graph is a skill published in the GitHub repository EmpiricaAI/empirica (259 stars, last pushed today), licensed MIT. It adds 153 tokens to every session and 2,012 once invoked, about $0.0006 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-10-26.

Related

artifact-graph compared with skills from other repositories

artifact-graph next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
artifact-graphEmpiricaAI/empiricaSkill259todayMITA153Claude Code
cortexTechNickAI/openclaw-configSkill754mo agononeA55Claude Code, Codex
librarianTechNickAI/openclaw-configSkill754mo agononeA54Claude Code, Codex
weekly-digeststhedotmack/claude-memSkill122ktodayApache-2.0A93Claude Code
cloud-syncthedotmack/claude-memSkill122ktodayApache-2.0A64Claude Code
screenpipethedotmack/claude-memSkill122ktodayApache-2.0A46Claude Code
context-window-managementsickn33/agentic-awesome-skillsSkill51ktodayMITA23Claude Code