MCPInstall
aicodeking avatar

ds-ledger

Keep a one-row-per-decision log during long or unattended runs, and re-read it before each step so the run does not drift from its goal. Use for multi-phase or autonomous work, work a human will review later, or /ds-ledger.

Installs
575
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/aicodeking/deepseek-stack --skill ds-ledger
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads ds-ledger automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

ds-ledger

A long run forgets its own reasons. A short written ledger keeps the goal in view and lets a reviewer trust the result.

Steps

  1. Create one TSV file, for example .ds-ledger.tsv, with the header ts phase decision why evidence result. Put the goal and done condition in the first row.
  2. Before each step, re-read the goal row and the last ten rows. Check that the next step still serves the goal. If it does not, log the drift and correct course.
  3. After each real decision, append one row:
    • ts: ISO 8601 time.
    • phase: the phase or workstream.
    • decision: what you chose or did, one line.
    • why: the reason in plain words.
    • evidence: a pointer, never prose. A commit hash, file:line, a command and its result, or an artifact path.
    • result: the outcome, such as "tests pass", "reverted", "open".
  4. Keep each cell on one line with no tabs.
  5. Log reverts and dropped work too, with the reason. Failures are the most useful rows.
  6. At the end, add a summary row and point the user to the file. Commit it only if a reviewer needs it.

Stop when

  • The run ends and the summary row is written.
  • If three rows in a row show no progress toward the goal, stop the run and report.

Rules

  • Every row needs evidence you can open or rerun. "Looked fine" is not evidence.
  • Write rows the way you would tell a teammate, plain and concrete.
  • Do not rewrite old rows. Append corrections.

FAQ

What does the ds-ledger skill do?

Keep a one-row-per-decision log during long or unattended runs, and re-read it before each step so the run does not drift from its goal. Use for multi-phase or autonomous work, work a human will review later, or /ds-ledger.

How do I install ds-ledger?

Run npx skills add https://github.com/aicodeking/deepseek-stack --skill ds-ledger in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/ds-ledger/ (personal) or .claude/skills/ds-ledger/ (project).

Which AI agents can use ds-ledger?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is ds-ledger safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains ds-ledger?

It is published by aicodeking in aicodeking/deepseek-stack. It has 575 recorded installs.

More from aicodeking/deepseek-stack

View all →
aicodeking avatar

ds-verify-loop

aicodeking/deepseek-stack

Run edit, real check, read the actual error, fix the root cause, rerun, until the check passes or the cap is hit. Use when you change code that has tests, a type checker, a build, or a runnable app, or before you claim any fix works. Invoke as /ds-verify-loop.

Testing & QA620 installs
aicodeking avatar

ds-plan-loop

aicodeking/deepseek-stack

Write a numbered plan with an acceptance check for each step, critique it once in a fresh pass, revise it, then execute one step at a time. Use when a task touches more than one file, has unclear scope, or failed before because steps were missed. Invoke as /ds-plan-loop.

aicodeking avatar

ds-mode

aicodeking/deepseek-stack

Always-on working style for DeepSeek agents: restate the task, read before editing, small verified steps, evidence before done, lean context, short reports. Use when starting any coding task, when the user types /ds-mode, or when work starts to drift.

aicodeking avatar

ds-unstick

aicodeking/deepseek-stack

Break out of a repeating failure: name the assumption behind all the failed fixes, test it directly, list three other approaches, pick one, and restart clean if needed. Use when the same error or wrong behavior comes back after two fix attempts, or when you notice you are retrying small variations. Invoke as /ds-unstick.

Testing & QA596 installs
aicodeking avatar

ds-context-reset

aicodeking/deepseek-stack

Keep a PROGRESS.md for long tasks and move to a fresh session or subagent that reads only that file when the context gets long or stale. Use when a task spans many steps or sessions, when the model starts repeating itself, forgets earlier facts, or re-tries old fixes, or when the context window is past about half full. Invoke as /ds-context-reset.

AI & Agents592 installs
aicodeking avatar

ds-principles

aicodeking/deepseek-stack

Compact engineering principles for design, debugging, verification, and delegation, each with a trigger. Use when choosing structure or types, sizing a diff, debugging, writing tests, or when the user types /ds-principles.

Popular code quality & workflow skills

View category →
mattpocock avatar

grill-me

mattpocock/skills

A relentless interview to sharpen a plan or design.

Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.

mattpocock avatar

handoff

mattpocock/skills

Compact the current conversation into a handoff document for another agent to pick up.

mattpocock avatar

domain-modeling

mattpocock/skills

Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.

mattpocock avatar

codebase-design

mattpocock/skills

Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.

mattpocock avatar

diagnosing-bugs

mattpocock/skills

Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.