toolkit-orientation
Use when landing in jabworks/agentic-toolkit with no context — mapping skills/ vs dist/plugins/ vs dist/opencode/ vs dist/cursor/ vs packages/, which tree is editable, how bundles (condux, toolkit-ops) nest, which docs to trust, and where NOT to write. Triggers include "how is this repo organized", "where do skills live", "what is dist for", "which files are generated", "where do I edit this skill".
- License 许可
- MIT
- 最近更新
- 2026-11-03
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- toolkit-orientation
- description
- Use when landing in jabworks/agentic-toolkit with no context — mapping skills/ vs dist/plugins/ vs dist/opencode/ vs dist/cursor/ vs packages/, which tree is editable, how bundles (condux, toolkit-ops) nest, which docs to trust, and where NOT to write. Triggers include "how is this repo organized", "where do skills live", "what is dist for", "which files are generated", "where do I edit this skill".
02 资源文件 2
- 参考文档evals/trigger_eval.json2.8 KB
- 参考文档references/porting.md7.5 KB
03 SKILL.md 正文
Toolkit Orientation
Purpose
Give a zero-context session a fast, correct mental model of this repo: the one editable source tree, the four generated distribution trees it feeds, the npm workspace, the manifest pairing, bundle nesting, and the trust order of docs.
When to use
- First contact with this repo in a session.
- Unsure which of two similar-looking paths is the editable one.
- Deciding where a new file belongs.
- A doc and the disk disagree and you need to know which wins.
When not to use
- Actually creating/registering/publishing a skill →
toolkit-foundry. - Writing or reviewing the SKILL.md content itself →
toolkit-skill-standards. - Diagnosing a misbehaving skill or plugin →
toolkit-debugging-playbook. - Manifest field-level schema questions →
toolkit-plugin-reference.
Inputs required
A checkout of the repo. Nothing else — this skill assumes zero prior context.
Procedure
-
One source, four distributions.
skills/<name>/is the ONLY editable skill source. Every other tree carrying a SKILL.md is a build artifact:Tree Consumed by Produced by skills/<name>/npx skills add jabworks/agentic-toolkithand-edited — this is the source dist/plugins/<plugin>/skills/…/plugin install …@jabworks-agentic-toolkitscripts/sync.sh(rsync--delete)dist/opencode/skills/<name>/OpenCode scripts/build-opencode.mjsdist/cursor/skills/<name>/Cursor (2.4+, native SKILL.md) scripts/build-cursor.mjsscripts/sync.shinvokes both variant builds itself (in the one-skill and the sync-everything branch alike), so one command refreshes every generated destination — the three dist trees above,dist/plugins/condux/agents/, and the npm package'sagents/and bundledskills/(step 2). The only hand-edited files underdist/are the paired plugin manifests (.claude-plugin/plugin.json+.codex-plugin/plugin.json), which have noskills/source — the rootplugin.jsonbeside them is generated too (scripts/generate-agent-manifests.mjs). Neither the OpenCode nor the Cursor tree has manifests at all — both hosts route ondescriptionalone, which is why both builds foldwhen_to_useinto it.The two variant trees run the same fold:
build-cursor.mjsimportstransformSkillandcopyTransformedfrombuild-opencode.mjsand owns only its output location. They are kept as separate trees anyway, so either host can diverge later without breaking the other (specs/cursor-channel/decisions.md). -
The npm workspace.
packages/condux-opencode/publishes@jabworks/condux, the OpenCode plugin that injects the condux specialist agents via the config hook. Itsindex.jsandpackage.jsonare hand-edited; itsagents/dir is generated fromskills/subagent-execution/agents/*.mdand itsskills/dir (the 13 bundled condux skills) fromskills/<name>/, both by the samescripts/build-opencode.mjs. Publishing runs on changesets — add a.changeset/*.mdwithpnpm changeset, and.github/workflows/release.ymlopens the version PR and publishes to npm via OIDC trusted publishing (noNPM_TOKEN). The rootpackage.jsonmust NOT carry"type": "module"— it would break the CommonJS reference scripts underskills/*/references/. -
Bundles vs standalone. A standalone skill mirrors to
dist/plugins/<name>/skills/<name>/. A bundle-member skill mirrors todist/plugins/<bundle>/skills/<name>/— the same depth, because Agent Plugins clients discover skills only as immediate children ofskills/and never recurse (flattened 2026-08-14, docket #29;tests/agent-plugins.test.mjspins depth one). Current bundles:condux(dev-workflow skills, plus plugin-levelagents/andhooks/dirs) andtoolkit-ops(this bundle — repo-maintenance skills).scripts/sync.shauto-detects the target; skills with no dist target are SKIPped, not synced. -
The registry.
.claude-plugin/marketplace.jsonat repo root lists every installable plugin. Entries carryname/description/author/source/category— no version field. Versions live in the paired plugin.json manifests. It governs the marketplace channel only;npx skills addand OpenCode never read it. -
Docs trust order (highest first): the disk itself →
tests/(executable doctrine, runnode --test) →skills/toolkit-foundry/SKILL.md(authoring runbook) → CLAUDE.md → README.md. Docs here lag disk by hours-to-weeks; skills get renamed without warning (commit 0b88ab2 renamed two mid-session on 2026-07-08). -
Where not to write.
~/.claude/(user config), repo-root.claude/(local settings only),.remember/(session history), and every generated tree — the nextscripts/sync.shclobbers all six:dist/plugins/*/skills/,dist/plugins/condux/agents/(the plugin-level agent mirror — the6ba6572drift lived exactly here),dist/opencode/skills/,dist/cursor/skills/,packages/condux-opencode/agents/, andpackages/condux-opencode/skills/(the bundled condux skills —rm -rf'd and rebuilt on every run).docs/plans/holds design docs;distillation/holds the 2026-07-08 audit trail. -
Verify before relying. Run:
ls skills/(live inventory — a dir listing of names, but check SKILL.md exists before treating a dir as a real skill),git log --oneline -5(recent movement),node --test(all invariants).
Porting this system elsewhere
Standing up another toolkit (e.g. a company fork) from this one? The bundle's
skills do NOT install elsewhere as-is (their trigger contracts and facts are
deliberately scoped to this repo) — follow references/porting.md: what ports
verbatim, what ports as doctrine, what must start empty.
Evidence required
Answer repo questions from paths and command output produced this session — never from memory of "how it looked last time." This repo demonstrably changes mid-session.
Output artifact
None — orientation is knowledge. Route follow-up work to toolkit-foundry (create),
toolkit-change-control (ship), or toolkit-debugging-playbook (fix).
Common traps
- Editing a dist/ skill tree because "that's where the plugin is" — the next
scripts/sync.shsilently overwrites it (rsync--delete;build-opencode.mjsrm -rfs its three outputs — includingpackages/condux-opencode/skills/— andbuild-cursor.mjsrm -rfsdist/cursor/skills/, all before regenerating). - Treating a directory's existence as proof a skill exists — check for SKILL.md; git
doesn't track empty dirs, so
git statuswon't warn you. - Assuming "skills synced = everything synced" — condux also mirrors a plugin-level
agents/dir that skill-tree syncing does not reach. - Reading
dist/opencode/skills/<name>/SKILL.mdordist/cursor/skills/<name>/to answer "what does this skill say" — both trees carry transformed frontmatter (when_to_usefolded intodescriptionand dropped). Readskills/<name>/SKILL.md. - Treating
packages/condux-opencode/agents/as editable because it isn't underdist/— it's generated too; the source isskills/subagent-execution/agents/.
Bad behavior this prevents
Editing skills/subagent-execution/agents/*.md, running sync, and shipping — while
dist/plugins/condux/agents/ (the copy Claude Code actually loads) stays stale. That
exact drift shipped once and needed commit 6ba6572 plus a dedicated invariant test to
fix; orientation names the special mirror so no session re-discovers it the hard way.
Related skills
toolkit-foundry (create/register/sync/publish — the canonical checklist),
toolkit-skill-standards (content and trigger bar for what you author),
toolkit-change-control (is it shipped?), toolkit-debugging-playbook (it broke),
toolkit-plugin-reference (manifest schemas), workflow (condux router + operating rules).
Provenance and maintenance
Re-verify volatile claims with:
ls skills/— live skill inventorynode --test— mirror parity + all invariantsjq -r '.plugins[].name' .claude-plugin/marketplace.json— registered pluginsls dist/opencode/skills/ dist/cursor/skills/ packages/— the two generated variant trees and the npm workspacegit status --shortafterbash scripts/sync.sh— anything dirty was a tree someone hand-edited
Last generated: 2026-07-08 (three-channel + packages/ revision 2026-07-23; bundled condux skills tree added to the generated list 2026-08-04; fourth channel — Cursor — 2026-08-14) Known uncertainty:
.claude/skills/does not exist today; a future third-party plugin install could create it — it would be an installed-plugin mirror, still not this repo's source.- This section used to predict that a second generated skill channel would force a
host-neutral rename of
dist/opencode/. Cursor arrived 2026-08-14 and it did not: the repo chose one tree per host (dist/cursor/besidedist/opencode/) precisely so either can diverge. Per-host naming is now the settled pattern, not a pending question — a fifth channel gets its own tree too.
04 同仓库更多 Skills
orphan
暂无简介
no-blurb
暂无简介
workflow
Routes any dev task into the right execution tier (Small/Medium/Large) and carries condux's operating rules — proportional effort, lazy skill loading, soft gates, implement-yourself-by-default.
usage-trace
Checks and manages durable, local usage capture — ingest, health status, and the opt-in limit snapshot — for Claude Code and Codex. Capture itself runs automatically at session start.
toolkit-skill-standards
Use when writing or reviewing a SKILL.md for jabworks/agentic-toolkit — frontmatter budgets, the trigger contract ("Use when…" description or when_to_use field), progressive disclosure into references/, and keeping a new description out of existing skills' trigger space. Triggers include "review this skill description", "write the frontmatter", "does this collide with an existing skill", "where should this content live". Not for scaffold/sync mechanics; use toolkit-foundry.
toolkit-research-frontier
Use when planning improvement work on jabworks/agentic-toolkit itself — open problems (trigger-collision automation, YAML-strict frontmatter checks, docs-catalog enforcement), existing assets, the next three concrete steps, and the four-front library-health campaign with commands and success criteria. Triggers include "let's improve our toolkit", "let's improve this repo", "what should we improve next", "toolkit roadmap", "open problems", "run the health campaign".