Preface¶
In DeepSeek Harness (DSH), skills are injected into every subsequent matching session, becoming the agent’s default premises. The common practice is to keep appending “what has been learned”; but once a skill is written incorrectly, becomes outdated, or contradicts others, what’s affected is not a single retrieval but every subsequent judgment, and often no one will ever re-read them one by one.
兰台·簿 (dsh-lantai) treats the skill library as a ledger: what gets recorded must first pass review, expired entries must be re-checked according to the review trail, and entries that should retire are archived rather than silently deleted. The following introduces what it is, what it can do, and how to install and get started.
What Is This¶
兰台·簿 is a DSH community plugin maintained by Erdoschn, categorized as workflow in the plugin directory. In one sentence: it refines, deduplicates, and improves cost-efficiency of the agent’s skills—pre-write verification, in-library health checks, topic graphs, plus staggered review and recoverable archival.
Unlike memory approaches that say “the more you remember the better, just append directly,” 兰台’s position is: partial-write requests are not allowed; what gets written must be valid and harmless; outdated entries should be retired; one of the health check’s direct purposes is to point out “which skills are currently misleading you.”
Why Verification Is Needed¶
The judgment criterion is not “is this useful” but “what happens if it’s wrong.” A wrong skill is unlike a wrong search result—if you don’t look at it there’s no impact; it actively participates in every judgment.
Example from the README: the model casually writes a skill; if it doesn’t pass verification then not a single character is written, and it may be rejected for reasons of form, substance, safety, etc.—for example the name not being kebab-case, the description too generic, the body too short, missing “Verification” or “Boundaries” sections, the body lacking specific commands or paths, or containing unsafe suggestions like disabling the sandbox or pushing directly to the default branch. Without verification, that entry would be ingested and take effect in every matching session going forward.
Core Capabilities: Three Subtraction Actions¶
Health Check (兰台·诊)¶
Whether the skill was written by you, given by someone else, or pulled from GitHub, a single read-only scan can report: contradictions, orphans, thin coverage, overdue reviews, missing verification, etc.; each finding comes with “what to do,” without modifying files.
After installation you can ask the agent in conversation to health-check the skill library. The README example output looks like:
7 skills, 4 topics, 0 critical, 0 medium issues, 3 hints
[low] Topic "windows" has only 2 entries → knowledge gap, also the direction for what to learn next
Graph (兰台·谱)¶
Clusters by topic and derives verifiable real edges from text, outputting JSON or Mermaid that can be embedded directly into a README; imported skills can also be graphed.
Verification (Write Gate)¶
Must pass review before being ingested via skill_distill (兰台·录); when rejected, not a single byte is written. Rules fall into four categories: form, substance, safety, uniqueness.
Review Trail and Archival¶
Review Trail (Staggered Review)¶
The review interval is determined by the number of times already audited; the stage table given in the README is as follows:
| Stage | Interval | What to do |
|---|---|---|
| 0 | 7 days | Light audit: do the verification commands still pass |
| 1 | 14 days | Re-check |
| 2 | 30 days | Environment review: have versions, paths, or switches changed |
| 3 | 60 days | Value review: has it been replaced by a better approach |
| 4 | 90 days | Cost review: what’s the hit rate, is it still worth occupying context |
| 5 | 180 days | Final review: rewrite, shrink, or delete |
Once overdue by more than 180 days, the health check will suggest archival, but will not auto-delete.
Archival (Revocable Deletion)¶
skill_retire (兰台·削) first shows a confirmation card; after agreement the directory is moved to skills.retired/<name>-<timestamp>/, and a RETIRED.md is left recording the reason and how to restore. An archival reason is required; without a reason the card will not appear.
Eight Tools¶
| Tool | Card name | What it does |
|---|---|---|
skill_health |
兰台·诊 | Contradictions, orphans, thin coverage, overdue, missing verification |
skill_graph |
兰台·谱 | Topic clustering + real edges, JSON / Mermaid |
skill_distill |
兰台·录 | Ingest after passing verification |
skill_catalog |
兰台·索 | List entries, review levels, next review time |
skill_audit |
兰台·校 | Compute due dates, list verification commands to run |
skill_attest |
兰台·勘 | Stamp; interval automatically lengthens |
skill_retire |
兰台·削 | Archive after confirmation, recoverable |
skill_conflicts |
兰台·议 | Pairwise comparison, reports only suspicions and evidence |
Installation and Activation¶
Official installation command (from the README):
dsh plugin install dsh-lantai
Or add a line in the profile:
- id: lantai
name: 'dsh-lantai'
config:
skillRoot: '~/.dsh/skills'
allowReplace: false
nudge: true
package.json specifies the runtime as Node >=20.11, license MIT; the version number in the current materials is 0.2.1.
Typical Usage¶
- Run the installation command above, or write the profile and then activate the plugin.
- In a session, ask the agent to health-check your skill library—for example, as the README puts it, ask “health-check my skills,” and handle contradictions, gaps, overdue items, and missing-verification items according to the diagnosis.
- When you need to ingest new experience, go through
skill_distill, ensuring it passes the four categories of verification: form, substance, safety, uniqueness. - Use
skill_catalog,skill_audit,skill_attestto maintain the review trail; useskill_conflictsfor conflict detection; useskill_retirefor retirement and fill in the archival reason.
Use Cases and Caveats¶
Who it’s for: developers or teams who accumulate skills in DSH over the long term, want contradictions and “silent misleading” within the library to be named, and are willing to use a review trail and archival instead of infinite appending.
Safety boundaries (explicitly stated in the README): 兰台 can constrain paths like “unverified skill writes” and “contradictions going unnoticed,” but cannot prevent the agent from using the shell to directly write to ~/.dsh/skills, nor can it prevent deliberate bypassing of verification; expired skills will still be injected, and can only be reminded of via the review trail. The plugin, compared to an agent inside the sandbox, has permissions beyond writing to the workspace; before installing, please read the GitHub source and the MIT license to confirm alignment with your own security policy.
The DSH ecosystem follows “everything is a plugin”; the community directory site has no official affiliation with DeepSeek / 幻方 (High-Flyer). This article is based only on the public README and repository metadata.
Links¶
- Plugin directory: https://www.skillhub.cn/plugins/Erdoschn/dsh-lantai
- Repository and documentation: https://github.com/Erdoschn/dsh-lantai