joycraft-add-fact

joycraft-add-fact is a skill for Claude Code, Codex from maksutovic/joycraft. It costs 41 tokens per session (2,335 once invoked), scanned A, original, MIT.

A fact-capture workflow that sorts a newly discovered piece of project knowledge into the appropriate context document.

In plain words
What is it for?
Use it to record facts such as service locations, unsafe assumptions, design decisions, shared know-how, or solutions to recurring problems.
Why use it?
It prevents important details about infrastructure, risks, decisions, team knowledge, or troubleshooting from remaining only in conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; $skill-name invocation.

Good fit Use it to record facts such as service locations, unsafe assumptions, design decisions, shared know-how, or solutions to recurring problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maksutovic/joycraft/joycraft-add-fact
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 maksutovic/joycraft --skill joycraft-add-fact
Clone the repo
git clone --depth 1 https://github.com/maksutovic/joycraft

Made for: Claude Code, Codex.

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 joycraft-add-fact

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/maksutovic/joycraft/joycraft-add-fact"><img src="https://agentmods.dev/badge/skills/maksutovic/joycraft/joycraft-add-fact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,335 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00041 $0.02335
Opus 5.5 $0.00016 $0.00934
Sonnet 5.5 $0.00008 $0.00467
Haiku 4.5 $0.00004 $0.00233

Measured 2mo ago against content hash 5ea873c4b23e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

joycraft-add-fact 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 2mo 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.

.agents/skills/joycraft-add-fact/SKILL.md · 153 lines

How it starts

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

At skill entry, run node docs/.joycraft/check.mjs check --json --session <session-id> once, reusing JOYCRAFT_SESSION_ID if supplied or one ID chosen for this conversation. If the checker is missing or fails, continue the requested skill quietly without retrying setup. Offer updates only for display: true; current, postponed, off, and unknown stay quiet. If automaticUpdate is present, finish this skill, then run its exact command once from the project root: the candidate must verify every safety gate before applying. Other updates require approval. After an offer or automatic attempt, record it with node docs/.joycraft/check.mjs acknowledge <available-version> --session <session-id>. Apply updates only at this workflow boundary; after success, reinvoke the skill or restart the session to load changed instructions.

Add Fact

The user has a fact to capture. Your job is to escalate it to a check where one is possible, otherwise classify it, route it to the correct context document, and append it in the right format.

Step 1: Get the Fact

If the user already provided the fact (e.g., $joycraft-add-fact the staging DB resets every Sunday), use it directly.

If not, ask: "What fact do you want to capture?" -- then wait for their response.

If the user provides multiple facts at once, process each one separately through all the steps below, then give a combined confirmation at the end.

Step 1b: Escalate to a Check First (Harden-First)

Before choosing a doc, apply the intervention-elimination hierarchy: can this fact be enforced as architecture, a deny pattern, or a CI check? A fact that is ALWAYS/NEVER-shaped, could cause real damage if violated, and applies across all work belongs in AGENTS.md's behavioral boundaries with teeth — invoke $joycraft-harden to convert it (rule + deny pattern stamped together) and stop; prose is the residue after checks fail, not the default destination. Advisory, never blocking: if the human declines, or harden is not installed (note it), continue to Step 2. A check-eligible fact whose why deserves prose can still land in the decision log per Step 2's rubric. Purely informational facts, one-time decisions, and diagnostic tips are not escalation candidates — classify them below.

Read the full file on GitHub · 153 lines

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. 2mo ago Changed · +2 lines 5ea873c4b23e
  2. 2mo ago Changed · -53 lines 0a7714a9486d
  3. 2mo ago First seen · 204 lines · 41 tokens per session scan A 87a3e4423cb2

Subscribe to this mod's changes

joycraft-add-fact is a skill published in the GitHub repository maksutovic/joycraft (15 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 2,335 once invoked, about $0.0002 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.

Related

joycraft-add-fact compared with skills from other repositories

joycraft-add-fact next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
joycraft-add-factmaksutovic/joycraftSkill153d agoMITA41Claude Code, Codex
angularericrisco/rsc-harnessSkill5293d agoMITA89Claude Code, Codex
agent-upkeepNVIDIA/elementsSkill115todayApache-2.0A115Claude Code, Codex
guidance-webgpu-performanceNVIDIA/elementsSkill115todayApache-2.0A98Claude Code, Codex
agent-debug-ciNVIDIA/elementsSkill115todayApache-2.0A80Claude Code, Codex
guidance-buildNVIDIA/elementsSkill115todayApache-2.0A101Claude Code, Codex
agent-inspectrajudandigam/agent-inspectSkill2113d agoMITA52Claude Code, Codex