joycraft-design

joycraft-design is a skill for Claude Code, Codex from maksutovic/joycraft. It costs 28 tokens per session (4,478 once invoked), scanned A, original, MIT.

A structured process for investigating and planning a bug fix before implementation begins.

In plain words
What is it for?
Use it to triage a bug, trace the cause through the code, resolve open decisions with the user, and write a small implementation specification.
Why use it?
It replaces guesswork with a clear account of the symptom, reproduction steps, root cause, and focused change needed.

Skill for Claude CodeCodex

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

Good fit Use it to triage a bug, trace the cause through the code, resolve open decisions with the user, and write a small implementation specification.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maksutovic/joycraft/joycraft-design
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-design
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-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/maksutovic/joycraft/joycraft-design"><img src="https://agentmods.dev/badge/skills/maksutovic/joycraft/joycraft-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,478 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.00028 $0.04478
Opus 5 $0.00014 $0.02239
Sonnet 5 $0.00006 $0.00896
Haiku 4.5 $0.00003 $0.00448

Measured yesterday against content hash dd6931eefdd5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

joycraft-design 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 yesterday.

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-design/SKILL.md · 336 lines

How it starts

The opening of the file, as written. The whole thing — 336 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.

Design Discussion

You are producing a design discussion document for a feature. This sits between research and decomposition — it captures your understanding so the human can catch wrong assumptions before specs are written.

Guard clause: If no brief path is provided and no brief exists at docs/features/<slug>/brief.md, say: "No feature brief found. Run $joycraft-new-feature first to create one, or provide the path to your brief." Then stop.


Step 0: Retrieve Before You Reason (PROTOCOL)

Before exploring the codebase or writing anything, run a bounded grep-first retrieval pass over the durable knowledge layer. This is not optional and it is not open-ended — it is a capped lookup, not a reading assignment.

  1. Derive 3-6 search terms from the brief's (and research doc's, if present) nouns and verbs — the feature's key concepts, not generic words.
  2. Grep the knowledge layer for those terms, in priority order:
    • docs/context/decision-log.md (why past choices were made)
    • docs/context/shipped.md (what/where already exists)
    • docs/discoveries/ (negative knowledge — things that didn't work)
    • remaining docs/context/*.md files
  3. Read at most 5 files/rows total — the matches, not the surrounding context. If a grep term returns dozens of hits, read only the newest matches within the cap and say the result was truncated.
  4. If the knowledge layer is empty or missing (fresh project), report "nothing to retrieve" in one line and proceed — never block.

Read the full file on GitHub · 336 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. yesterday Changed · +2 lines dd6931eefdd5
  2. 9d ago First seen · 334 lines · 28 tokens per session scan A eacfdd6285c7

Subscribe to this mod's changes

joycraft-design is a skill published in the GitHub repository maksutovic/joycraft (15 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 4,478 once invoked, about $0.0001 per session on Opus 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.