agentleFS
cyanseekcyanseek/dsh-native-playbook/AGENTS.md

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 code style.

    Of the AGENTS.md files we read, the 35,266 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.

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
  1. Distinctive:

    Do not become a third-party plugin registry.

    line 10
  2. Distinctive:

    Do not mirror all upstream documentation.

    line 11
  3. Distinctive:

    Do not add plugin-only resolver logic.

    line 12
  4. Distinctive:

    Do not collect telemetry.

    line 13
  5. Very specific:

    Never hand-edit generated/upstream.json or generated/UPSTREAM_COMMIT.

    line 38
  6. Very specific:

    Run pnpm sync:upstream to update generated facts.

    line 39
  7. Very specific:

    Never let upstream sync rewrite catalog/task-map.yml or hand-authored recipes.

    line 40
  8. Very specific:

    Run the complete set before release.

    line 59
  9. Distinctive:

    Never recommend an external plugin before checking the native task map.

    line 69
  10. Distinctive:

    Never classify a capability as ready without effective profile and provider evidence.

    line 70
  11. Very specific:

    Keep shipped, mounted, visible, providerReady, and operational distinct.

    line 71
  12. Distinctive:

    Never make an ordinary user edit DSH YAML or repeat the installation command.

    line 74
  13. Distinctive:

    Prefer an operational native fallback over a configuration questionnaire.

    line 76
  14. Distinctive:

    Do not require users to run status or verification commands in the normal DSH journey.

    line 77
  15. Distinctive:

    Keep the persistent system-prompt contribution tiny.

    line 78
  16. Distinctive:

    Keep English and Chinese README behavior claims identical.

    line 79
  17. Very specific:

    Keep prebuilt dist/ artifacts committed and never add prepare, install, or postinstall.

    line 80
  18. Very specific:

    No telemetry, postinstall, credential output, or install-time network fetch.

    line 82
  19. Very specific:

    Update README.md and README.zh-CN.md together for every user-visible behavior change.

    line 86
  20. Distinctive:

    Keep commands executable and do not claim an unpublished or untested distribution path works.

    line 87
  21. Distinctive:

    Keep the main Skill short and put detailed domain guidance in the matching reference file.

    line 88
  22. Distinctive:

    Run every command in the test gate above on a supported Node version.

    line 93
  23. Distinctive:

    Run the clean consumer installation smoke without build approval.

    line 95

≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 over skills/.
  • 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

  1. Current official DeepSeek Harness source files pinned in generated/upstream.json.
  2. Effective profile output from dsh --profile <name> --dump-config.
  3. Curated intent and fallback policy in catalog/task-map.yml.
  4. 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.json or generated/UPSTREAM_COMMIT.
  • Run pnpm sync:upstream to update generated facts.
  • Never let upstream sync rewrite catalog/task-map.yml or 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 metrics

Run 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, and operational distinct.
  • 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 add prepare, install, or postinstall.
  • 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

  1. Sync and verify the upstream snapshot.
  2. Run every command in the test gate above on a supported Node version.
  3. Review the packed file list and CLI JSON smoke output.
  4. Run the clean consumer installation smoke without build approval.
  5. Confirm the changelog and version agree.
  6. Tag and publish only through an explicitly authorized release operation.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.