logmind
Skill3 starsChanged 8 days agoMITView on GitHub
MUST be loaded for any task in a project that uses logmind (detect by: .logmind/config.yml at repo root, or AGENTS.md / CLAUDE.md mentioning logmind, or docs/decisions-branches/ present). Use BEFORE writing >20 lines of new code, BEFORE choosing between alternatives, BEFORE adding a dependency, BEFORE modifying existing functionality, BEFORE making any security or performance trade-off, BEFORE renaming or moving any significant module. Logging is part of the work, not after it. Also use to read prior decisions before starting any task in such a project so you don't re-litigate something already decided.
- Pipes a download into a shell
- Reads credentials
- Installs packages
- Commits and pushes
1 other project uses a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- thrillmade/logmindedited, first seen Jul 16, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- thrillmade/logmind★ 122% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository66 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- clud-bug-collaborationSkill
- critical-issues-onlySkill
- evidence-based-reviewSkill
- respect-existing-conventionsSkill
- skill-frontmatter-qualitySkill
- apca-contrastSkill
- api-contract-enforcementSkill
- brand-voice-reviewSkill
- chroma-harmonizationSkill
- clud-bug-collaborationSkill
- component-sizing-principlesSkill
- component-sizingSkill
- composing-a-screenSkill
- consuming-a-design-systemSkill
- conventions-templateSkill
- critical-issues-onlySkill
- curating-a-skill-catalogSkill
- designing-a-design-systemSkill
- designing-elite-uiSkill
- design-system-consistencySkill
- design-token-namingSkill
- dtcg-formatSkill
- empirical-design-principlesSkill
- evidence-based-reviewSkill
- finding-a-catalog-skillSkill
- frontend-a11ySkill
- guarding-a-regressionSkill
- ios-safari-surfacesSkill
- line-height-gridSkill
- motion-continuitySkill
- oklch-color-spaceSkill
- orchestrating-agent-delegationSkill
- orchestrating-a-multi-agent-runSkill
- orchestrating-elite-agent-qaSkill
- palette-relationshipsSkill
- pii-and-complianceSkill
- proving-an-absenceSkill
- respect-existing-conventionsSkill
- retiring-a-superseded-decisionSkill
- reviewing-design-workSkill
- semver-design-tokensSkill
- session-heartbeatSkill
- skillforgeSkill
- skill-frontmatter-qualitySkill
- spacing-systemSkill
- technical-writingSkill
- test-disciplineSkill
- thrill-designSkill
- token-frugal-toolingSkill
- token-naming-conventionsSkill
- type-scaleSkill
- udts-component-sizing-laddersSkill
- udts-dtcg-extensionsSkill
- udts-linter-rulesSkill
- udts-naming-conventionSkill
- udts-reviewSkill
- udts-semver-defaultsSkill
- udts-spacing-defaultsSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 4 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
When in doubt, log it — an entry is cheap.
- Distinctive: line 78
Before non-trivial work, read in order:
- Very specific: line 83
docs/decisions-branches/<your-branch>.md: if present — earlier decisions on this branch, in full. - Very specific: line 106
Commit both. Add --check to either for a CI exit status without writing.
- Distinctive: line 160
Don't write the decision after the fact in past tense for trivial code.
- Distinctive: line 161
Don't reword a decision someone else already logged — link or extend it.
- Very specific: line 162
Don't bypass the auto-commit (--no-commit) unless the project's branch protection requires it.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
logmind: log decisions as you work
Applies when the project has .logmind/config.yml or an AGENTS.md
mentioning logmind. Log a decision before writing non-trivial code.
When to log
- An architectural or design choice
- A choice between alternatives
- Significant new code (> 20 lines or a new module)
- A non-obvious change to existing functionality
- Adding or removing a dependency
- A security or performance decision
When in doubt, log it — an entry is cheap; recovering the context later is not. But don't log every tiny edit: the 20-line rule is a guideline; use judgement.
logmind log "Use PostgreSQL" -r "Need ACID + joins" -a "MongoDB" -a "SQLite" -i "Pooling"logmind log IS the commit primitive — no manual git around it
One invocation replaces git add + git commit. This skill describes
logmind v1.2.0, the latest release; logmind version shows yours.
- Appends to
docs/decisions-branches/<sanitized-branch>.mdon a feature branch (decisions.branch_aware, on by default) — one file per branch, append-only. On the default branch, a detached HEAD or a non-git directory it appends todocs/decisions.mdinstead.logmind logroutes this, you don't. - Stages the whole working tree (
--stage all, the default) so the decision and its code land in one commit — don'tgit addfirst.--stage scopedstages only the decision file when you have unrelated WIP you don't want swept in. git commitwith messagelogmind: <decision>. It does not push —git.auto_pushis in the config but v1.2.0 never reads it. Rungit pushyourself.- Link-checks the markdown. On findings it prints an advisory; in a
terminal it offers up to three fix-and-recheck tries, and
--no-interactive(or piped stdin) skips the prompt and exits 0. The prompt path exits 1 onqor after three failed rechecks. The commit has landed either way.
logmind log does not regenerate the derived docs — see below. After it
you owe only the push.
Enforcement: a local hook and a PR gate
- The pre-commit hook (
logmind check-decisions) blocks (exit 1) a sizeable commit with no decision-file update. It never reads[skip-logmind]; its escape isgit commit --no-verify. logmind initalso installscheck-decisions.yml, a PR gate on 20+ non-doc changed lines. It honors[skip-logmind]in the PR title only.- In a commit subject,
[skip-logmind]only makes thecommit-msghook echo a notice; nothing else reads it.
Reading prior context
Before non-trivial work, read in order:
docs/timeline.md— the generated union of decision entries across every branch, brief by default (first and last entry per month;logmind timeline --fullprints every one).docs/decisions-branches/<your-branch>.mdif present — earlier decisions on this branch, in full.docs/decisions.mdanddocs/decisions-archive.md— default-branch decisions; grep them for a term before re-deciding it.docs/file-structure.md— project tree, capped at depth 2 by default (--max-depth Nonlogmind file-structure/logmind tree;0= unbounded).
Derived docs are generated — never hand-edit them
docs/timeline.md and docs/file-structure.md are computed from sources
(the decision files above; a tree walk). Edit the sources instead.
regen-timeline.yml regenerates both on every PR. If they are stale it
pushes the fix to the branch when LOGMIND_AUTO_REGEN_PAT is set; with no
PAT, or on a fork PR, it fails red with Stale derived docs. The fix is
regeneration, not a hand edit and not a copy from another branch:
logmind timeline --write docs/timeline.md
logmind file-structure --write docs/file-structure.mdCommit both. Add --check to either for a CI exit status without writing.
The same regeneration resolves a merge conflict in either file: re-run it,
never pick a side. It reads only your checkout's sources, so there is no
base or tip copy to choose between.
Parallel-PR merges
Two PRs that both run logmind log don't conflict on the derived docs:
logmind init installs a .gitattributes merge-driver block, the
per-clone git config defining the drivers, and a .git/hooks/post-merge
sweep that regenerates what the driver missed (unstaged — the next
logmind log picks it up); logmind doctor reports drift on all three.
Client-side only — it can't help a server-side merge.
Authoring skills — logmind skill …
For skills in your own project (.claude/skills/<name>/SKILL.md): new
scaffolds; test validates frontmatter + structure; bench measures
per-call token cost, suggests trims, buckets by loaded cost (tight /
typical / verbose / over-budget); audit reports each local SKILL.md's
bytes, decision-mentions and staleness, flagging ghost (loaded every
context, author never iterates) and aging (untouched 90+ days) skills;
suggest --since 30d drafts a candidate-skill issue from tokens repeated
across decisions. Pair with clud-bug usage --health (loads vs. citations
on real PRs).
Local and read-only against remotes except push: without
--dry-run it clones the catalog, pushes a branch, and opens a real pull
request the moment you run it — no confirmation prompt. Run logmind
skill push <name> --dry-run first, every time. Nomination isn't
publication: the catalog's editor gate decides, and can say no. suggest
is also not local by default: with ANTHROPIC_API_KEY set it sends
pattern candidates and evidence to api.anthropic.com; pass --no-llm.
Setup and health
brew install thrillmade/tap/logmind # or: curl -fsSL https://logmind.dev/install.sh | bash
logmind init # scaffolds docs/, AGENTS.md, workflows, merge drivers, hooks
logmind doctor # confirm clean installlogmind init --with-skdd accepts the flag but currently defers — it
prints a note to run npx clud-bug@latest init yourself. Run them
separately.
logmind doctor flags stale workflow templates, stale hooks, merge-driver
drift and an outdated AGENTS.md block-version, exiting non-zero on drift
so it's CI-pluggable (--json for scripts, --exit-zero for informational
runs). It has no clud-bug probe, and its installed-vs-latest version line
is not reliable in v1.2.0 — don't read it as "up to date".
Don'ts
- Don't write the decision after the fact in past tense for trivial code.
- Don't reword a decision someone else already logged — link or extend it.
- Don't bypass the auto-commit (
--no-commit) unless the project's branch protection requires it.
Cross-references
- token-frugal-tooling — token-frugal defaults for agent sessions.
- clud-bug-collaboration — the review half.
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.

