joycraft-decompose

joycraft-decompose is a skill for Claude Code, Codex from maksutovic/joycraft. It costs 21 tokens per session (6,501 once invoked), scanned A, original, MIT.

A feature-planning workflow that breaks a feature brief into small, testable pieces, with one piece intended for each session.

In plain words
What is it for?
Use it to search past decisions and discoveries, define independent specifications, and create a queue and work plan for implementation.
Why use it?
It turns a broad feature request into manageable work and checks existing project knowledge before creating the plan.

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); mentions AGENTS.md.

Good fit Use it to search past decisions and discoveries, define independent specifications, and create a queue and work plan for implementation.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/maksutovic/joycraft/joycraft-decompose.svg)](https://agentmods.dev/skills/maksutovic/joycraft/joycraft-decompose)
Your own site
<a href="https://agentmods.dev/skills/maksutovic/joycraft/joycraft-decompose"><img src="https://agentmods.dev/badge/skills/maksutovic/joycraft/joycraft-decompose.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,501 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.00021 $0.06501
Opus 5 $0.00010 $0.03250
Sonnet 5 $0.00004 $0.01300
Haiku 4.5 $0.00002 $0.00650

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

Security

Grade A, and why

joycraft-decompose 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 today.

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-decompose/SKILL.md · 431 lines

How it starts

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

Decompose Feature into Atomic Specs

You have a Feature Brief (or the user has described a feature). Your job is to decompose it into atomic specs that can be executed independently — one spec per session.

Step 0: Retrieve Before You Reason (PROTOCOL)

Before identifying spec boundaries or writing any spec file, 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 (or inline description's) 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 · 431 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. today Changed · +2 lines 0f02cb2615a3
  2. 8d ago First seen · 429 lines · 21 tokens per session scan A 98daa692bcec

Subscribe to this mod's changes

joycraft-decompose is a skill published in the GitHub repository maksutovic/joycraft (15 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 6,501 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.

Related

Other skills, from other repositories

qamap-pr-qa

Local zero-LLM PR QA workflow. Use when an agent is preparing, updating, finalizing, or reviewing a pull request, asks what the PR should test, or needs commit-backed change intent, affected behavior, QA scenarios, evidence, validation commands, optional automation drafts, and manifest repair guidance.

IvoryCanvas/QAMap · 67 tokens

NestJS Framework

Node.js/TypeScript backend framework with dependency injection and modular architecture.

FortiumPartners/ensemble · 17 tokens

using-prisma

Prisma 5+ ORM with schema-first design, type-safe client, migrations, and database integrations (Supabase, PlanetScale, Neon). Use for TypeScript/JavaScript database access.

FortiumPartners/ensemble · 43 tokens

PR Etiquette

This skill should be used when responding to maintainer review feedback, writing or reviewing PR descriptions, following up on dormant PRs, validating PR quality before submission, or deciding how to communicate with maintainers. Sibling to oss-contribution and contribution-ethics.

costajohnt/oss-autopilot · 57 tokens

async-await-patterns

Use when writing JavaScript or TypeScript code with asynchronous operations, fixing promise-related bugs, or converting callback/promise patterns to async/await. Triggers: 'promise chain', 'unhandled rejection', 'race condition in JS', 'callback hell', 'Promise.all', 'sequential vs parallel async', 'missing await'.…

axiomantic/spellbook · 81 tokens

session-manager

A fallback skill for recording development sessions and restoring project context from an Obsidian vault, a folder of linked notes. It handles explicit resume, handoff, status, and end-of-session requests when automatic capture is unavailable.

Enakoneschniy/claude-dev-stack · 108 tokens