file system
Areium/dsh-fail-logger · skills
An all-mode tool failure recorder for DeepSeek Harness: whether the agent runs in native mode or PTC (Code Mode), any tool failure is automatically written into the.
★ 9GitHub stars
1Forks
2026-08-15Last updated
JavaScriptLanguage
MITLicense
Key features
- Legend — lefttool failures in a session are captured automatically
- Always-on instructions (push)injects two code-time rules (write scripts to disk before running / derive paths via import.meta.url) as a system-prompt section on every agent step (90 chars/step, injectInstructions: false to disable) — prevents execution-time mistakes without AGENTS.md or skill loading
- Manual tuningedit the frontmatter description of /.dsh/skills/fail-log-guide/SKILL.md (the plugin only maintains the FAIL-LOG section, never the frontmatter).
- npmdsh-fail-logger (dsh plugin --profile web add dsh-fail-logger)
- rightthe causes accumulate in the skill's auto-log section (deduplicated, counted, ranked by frequency).
Requirements
- Only failures that reach the session log: catastrophic process death during tool execution is out of scope.
- Corrupt state is backed upan unparseable .failures.json is renamed to .failures.json.bak- before reset.
Install command
dsh plugin --profile web add github:Areium/dsh-fail-logger