ddd-distribute

ddd-distribute is a skill for Claude Code, Codex from xg-gh-25/SwarmAI. It costs 66 tokens per session (1,139 once invoked), scanned A, original, MIT.

A packaging step that turns a completed DDD into a capability package for another agent host, such as Kiro, Quick, or Claude Code.

In plain words
What is it for?
Use it to choose declared distribution targets, build the package, and review warnings and its output path.
Why use it?
It prevents packages from being produced for targets or visibility levels that the DDD owner has not declared.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to choose declared distribution targets, build the package, and review warnings and its output path.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xg-gh-25/swarmai/s_ddd-distribute
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 xg-gh-25/SwarmAI --skill s_ddd-distribute
Clone the repo
git clone --depth 1 https://github.com/xg-gh-25/SwarmAI

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 ddd-distribute

README.md
[![agentmods](https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_ddd-distribute/github.svg)](https://agentmods.dev/skills/xg-gh-25/swarmai/s_ddd-distribute)
Your own site
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_ddd-distribute"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_ddd-distribute/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 ddd-distribute

Your own site · 80×15
<a href="https://agentmods.dev/skills/xg-gh-25/swarmai/s_ddd-distribute"><img src="https://agentmods.dev/badge/skills/xg-gh-25/swarmai/s_ddd-distribute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,139 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.00066 $0.01139
Opus 5.5 $0.00026 $0.00456
Sonnet 5.5 $0.00013 $0.00228
Haiku 4.5 $0.00007 $0.00114

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

Security

Grade A, and why

ddd-distribute 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 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/distribute.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

backend/skills/s_ddd-distribute/SKILL.md · 85 lines

How it starts

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

DDD Distribute (s_ddd-distribute) — the distribution step of the DDD lifecycle

Render a grown DDD into a distributable capability package so another agent host (Claude Code, Kiro, a public consumer, ...) can install and use it: an Open-Plugins plugin (target open-plugin) and/or a package for an internal package manager (e.g. AIM) (target aim-capabilities).

This skill is a thin human-in-the-loop wrapper — all packaging logic lives in core/ddd_packager.py and the reach policy in core/ddd_distribution_policy.py. The skill's job is: read the declaration → confirm the target subset with the human → call the packager → surface warnings and the built path.

The reach model (READ BEFORE RUNNING)

A DDD declares its own reach in its aim.json:

"distribution": {
  "targets": ["open-plugin", "aim-capabilities"],   // the CEILING (0..2)
  "visibility": "internal"                            // internal | external
}
  • The declaration is the ceiling. You may emit a SUBSET of the declared targets; you may NEVER add an undeclared target or raise visibility. To widen reach, the DDD owner edits the declaration first (a separate, deliberate change).
  • Fail-closed. An absent / malformed declaration → targets:[] = not distributable. Nothing leaves by inference.
  • Emit ≠ publish. A visibility:internal DDD may EMIT an open-plugin tree for a private install, but the public-publish step is refused until visibility is explicitly external (a human-gated change).

Workflow (HITL)

  1. Locate the DDD — resolve <workspace>/Projects/<name>/ (the DDD dir).
  2. Read the declaration — call the packager's policy; show the human the declared targets + visibility + any warnings (e.g. an unknown target token).
  3. Confirm the subset — ask the human WHICH declared target(s) to emit now, and whether this is an emit-only pass or an external publish. Never propose a target the DDD didn't declare.
  4. Render — run scripts/distribute.py with the confirmed subset. The packager: emits each target tree, runs the content-safety scan over the EMITTED tree, and aborts (fail-closed) on any secret / host-path (any target) or internal-string (external publish).
  5. Return the path(s) — report the built package dir(s) + any scan warnings + which skills were included (class-B domain) vs excluded (class-A enablement / unclassified). Point the human at the install command:
    • external → push to the public code host, then bash install.sh (or the agent host's plugin install command)
    • internal → a code review / PR into the internal package, then the internal package manager's install command (e.g. aim plugins install <Pkg>)

Read the full file on GitHub · 85 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. 1mo ago Changed · +4 lines · -143 tokens per session 8665a4cf944b
  2. 2mo ago Changed · +10 lines 0b66e4a60667
  3. 3mo ago First seen · 71 lines · 209 tokens per session scan A c4577cad57c7

Subscribe to this mod's changes

ddd-distribute is a skill published in the GitHub repository xg-gh-25/SwarmAI (66 stars, last pushed yesterday), licensed MIT. It adds 66 tokens to every session and 1,139 once invoked, about $0.0003 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

ddd-distribute compared with skills from other repositories

ddd-distribute next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ddd-distributexg-gh-25/SwarmAISkill66yesterdayMITA66Claude Code, Codex
hindsight-architectvectorize-io/hindsightSkill64kyesterdayMITA35Claude Code, Codex
hindsight-localvectorize-io/hindsightSkill64kyesterdayMITA32Claude Code, Codex
hindsight-coding-agentvectorize-io/hindsightSkill64kyesterdayMITA74Claude Code, Codex
bot-handoffvectorize-io/hindsightSkill64kyesterdayMITA57Cursor
memory-contextvectorize-io/hindsightSkill64kyesterdayMITA47Cursor
routine-memoryvectorize-io/hindsightSkill64kyesterdayMITA54Cursor