dsh-native-playbook
AGENTS.md4 starsChanged 4 months agoMITView on GitHub
Map a user's task to the most appropriate native DeepSeek Harness capability before recommending an external plugin or custom workaround. Package existence alone is never evidence that a capability is ready. Run the complete set before release. Use pnpm sync:upstream -- --source-dir <checkout> when validating against a trusted local upstream checkout. Update README.md and README.zh-CN.md together for every user-visible behavior change. Keep commands executable and do not claim an unpublished or untested distribution path works. Keep the main Skill short…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository3 other files it gives its agents.
- skills/dsh-native-playbook/references/agents.mdAGENTS.md
- llms.txtllms.txt
- dsh-native-playbookSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
23 rules. About 0 are common, 15 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 10
Do not become a third-party plugin registry.
- Distinctive: line 11
Do not mirror all upstream documentation.
- Distinctive: line 12
Do not add plugin-only resolver logic.
- Distinctive: line 13
Do not collect telemetry.
- Very specific: line 38
Never hand-edit generated/upstream.json or generated/UPSTREAM_COMMIT.
- Very specific: line 39
Run pnpm sync:upstream to update generated facts.
- Very specific: line 40
Never let upstream sync rewrite catalog/task-map.yml or hand-authored recipes.
- Very specific: line 59
Run the complete set before release.
- Distinctive: line 69
Never recommend an external plugin before checking the native task map.
- Distinctive: line 70
Never classify a capability as ready without effective profile and provider evidence.
- Very specific: line 71
Keep shipped, mounted, visible, providerReady, and operational distinct.
- Distinctive: line 74
Never make an ordinary user edit DSH YAML or repeat the installation command.
- Distinctive: line 76
Prefer an operational native fallback over a configuration questionnaire.
- Distinctive: line 77
Do not require users to run status or verification commands in the normal DSH journey.
- Distinctive: line 78
Keep the persistent system-prompt contribution tiny.
- Distinctive: line 79
Keep English and Chinese README behavior claims identical.
- Very specific: line 80
Keep prebuilt dist/ artifacts committed and never add prepare, install, or postinstall.
- Very specific: line 82
No telemetry, postinstall, credential output, or install-time network fetch.
- Very specific: line 86
Update README.md and README.zh-CN.md together for every user-visible behavior change.
- Distinctive: line 87
Keep commands executable and do not claim an unpublished or untested distribution path works.
- Distinctive: line 88
Keep the main Skill short and put detailed domain guidance in the matching reference file.
- Distinctive: line 93
Run every command in the test gate above on a supported Node version.
- Distinctive: line 95
Run the clean consumer installation smoke without build approval.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository guidance
Goal
Map a user's task to the most appropriate native DeepSeek Harness capability before recommending an external plugin or custom workaround.
Non-goals
- Do not become a third-party plugin registry.
- Do not mirror all upstream documentation.
- Do not add plugin-only resolver logic; the runtime adapter must call the shared resolver.
- Do not collect telemetry.
Repository map
catalog/task-map.yml: curated task-to-capability mappings.generated/: deterministic facts generated from one official upstream commit.activation-recipes/: reviewed, version-gated, reversible native activation recipes.skills/dsh-native-playbook/: concise Skill plus focused references..codex-plugin/plugin.json: thin Codex skill-only plugin adapter overskills/.cordis.patch.yml: installable DSH bundle layer for the runtime adapter.src/: shared resolver, profile inspector, installer, CLI, API, and thin DSH adapter.scripts/: upstream sync and repository validation.tests/: behavior, profile, installer, and Skill contract tests.
Source-of-truth hierarchy
- Current official DeepSeek Harness source files pinned in
generated/upstream.json. - Effective profile output from
dsh --profile <name> --dump-config. - Curated intent and fallback policy in
catalog/task-map.yml. - Human-facing explanations in the Skill and READMEs.
Package existence alone is never evidence that a capability is ready.
Generated and curated files
- Never hand-edit
generated/upstream.jsonorgenerated/UPSTREAM_COMMIT. - Run
pnpm sync:upstreamto update generated facts. - Never let upstream sync rewrite
catalog/task-map.ymlor hand-authored recipes. - A task-map reference to a removed upstream tool must fail validation.
Commands
pnpm lint
pnpm typecheck
pnpm test
pnpm build
pnpm validate:skill
pnpm validate:plugin
pnpm validate:dsh-plugin
pnpm verify:upstream
pnpm smoke:json
pnpm smoke:consumer
pnpm metricsRun the complete set before release. Use pnpm sync:upstream -- --source-dir <checkout>
when validating against a trusted local upstream checkout.
Invariants
- CLI, API, and the DSH runtime adapter must use the same resolver.
- JSON mode stdout must remain parseable JSON only; diagnostics go to stderr.
- Public API functions never prompt.
- The Skill must not load every reference by default.
- The Codex manifest must point to the same
./skills/tree and never duplicate resolver data. - Never recommend an external plugin before checking the native task map.
- Never classify a capability as ready without effective profile and provider evidence.
- Keep
shipped,mounted,visible,providerReady, andoperationaldistinct. - Activation must be allowlisted, version-gated, atomic, verified, and reversible.
- Activation must never mutate credentials, security policy, or arbitrary provider settings.
- Never make an ordinary user edit DSH YAML or repeat the installation command.
- A recipe must replace a complete reviewed config row; never assume DSH deep-merges partial config.
- Prefer an operational native fallback over a configuration questionnaire.
- Do not require users to run status or verification commands in the normal DSH journey.
- Keep the persistent system-prompt contribution tiny.
- Keep English and Chinese README behavior claims identical.
- Keep prebuilt
dist/artifacts committed and never addprepare,install, orpostinstall. - Installers must refuse to overwrite a destination owned by another Skill.
- No telemetry,
postinstall, credential output, or install-time network fetch.
Documentation
Update README.md and README.zh-CN.md together for every user-visible behavior change.
Keep commands executable and do not claim an unpublished or untested distribution path works.
Keep the main Skill short and put detailed domain guidance in the matching reference file.
Release flow
- Sync and verify the upstream snapshot.
- Run every command in the test gate above on a supported Node version.
- Review the packed file list and CLI JSON smoke output.
- Run the clean consumer installation smoke without build approval.
- Confirm the changelog and version agree.
- Tag and publish only through an explicitly authorized release operation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

