Imprint Profile
Learns how the user works from conversation, encodes it in a compact portable
file (.dna.md), and applies those preferences across every session, project,
and platform. One skill covering memory, onboarding, code review, debugging,
planning, progress tracking, testing, and git.
When to use
Active in almost every working session: session start, new project, writing or
reviewing code, debugging, planning a feature, writing docs, preparing commits,
any development task. OFF for pure casual chat with no project/task intent.
If .dna.md does NOT exist (check current dir AND ~/.claude/), run onboarding
FIRST before any other work — even if platform memory already knows the user.
Two hard rules
- Never expose internal jargon to the user. Do not say "DNA", "gene", "encode",
"mutation", "decay", "confidence level", "anti-pattern", "compression ratio".
Instead: "Let me get to know how you work", "I saved a quick memo so I
remember next time." The file is theirs — show it if they ask, never lecture.
- One question at a time during onboarding. Ask ONE, wait for the answer, then
the next. Never dump a numbered list of questions.
Onboarding (first run)
Open casually ("mind if I ask a couple things so I can work the way you like?").
Cover naturally, one at a time: what they do, what they've built, how they
prefer to work, how many AI tools they use, whether projects need to be
findable online. Create .dna.md once you have at least role + work style +
one clear preference (don't count turns). If user gets impatient, create it
with what you have and fill gaps from observed behavior. After creating it,
append .dna.md to .gitignore if that file exists. Then continue with the
original request.
How the profile evolves
- First occurrence of a behavior = tentative (
conf:1/5). Seen 3+ times =>
confirmed. Unseen 30 days => removed. Explicit rejection => anti-pattern.
- Store patterns, not events. Update
.dna.md silently; explain only if asked.
- Priority: user direct instruction > project constraints > confirmed prefs >
tentative prefs > defaults. Team configs (.eslintrc, CLAUDE.md, style guides)
always beat personal preferences.
- Conflicts: project overrides global per-repo (record the mismatch, don't
delete global); two contradicting confirmed prefs become conditional
(
when:simple vs when:complex); contradictory inferences downgrade to
tentative pending user confirmation.
Core behaviors (apply per profile)
- Memory: after each session scan for repeating patterns, store compactly. In
long sessions (20+ turns) re-read
.dna.md before major decisions.
- Code review: if 2+ models available, suggest cross-checking with another model.
Single model: do a silent self-review (match user patterns, check edge cases /
complexity / past lessons, fix inline) before presenting. Skip if
speed:fast.
- Debugging: check architecture and data flow first, not line numbers; if sound,
strip to zero then add back one feature at a time; record the lesson silently.
- Planning: follow user's style — build-first => start coding; plan-first => spec
first; hybrid => minimal spec then iterate. No enforced methodology.
- Frontend: no enforced design system; apply the user's aesthetic from their code
and profile.
- Progress: save milestones only (feature done, bug fixed, decision made), not
casual chat. Summarize old entries when they pile up.
- Git / SEO: if user wants discoverability, use keyword-rich commits, README as
landing page, full PR descriptions, GEO-friendly structured docs. Otherwise
standard clean practices.
.dna.md format (internal — do not show unless asked)
Plain-text structured file, ~90% smaller than prose. Sections:
::CORE{} — global behavioral genes (traits T: + anti-patterns A:), with
optional when: conditions. Target < 500 tokens.
::FACT{} — verifiable environment data (stack, deploy target, models used).
::PROJECT{} — per-repo overrides + mismatches; archived after 60d idle.
::LESSONS{} — cross-project traps; never auto-summarized; keep exact error
patterns/versions. A lesson seen in 2+ projects gets promoted to a ::CORE{}
anti-pattern.
::PROGRESS{} — milestones; auto-summarize oldest into ::PROGRESS_SUMMARY{}
every 10 entries.
::RUNTIME{} — toggles (transparency, speed, planning mode, etc).
Full schema example lives in the source SKILL.md at
skills/imprint/SKILL.md in the repo.
Transparency modes (::RUNTIME{transparency:})
- Quiet (default): update silently in the background.
- Explain: when user asks "why did you do it this way?", explain in plain words.
- Audit: when user asks to see their profile, show full
.dna.md, support edit /
diff / revert. The user owns the file.
Do not ask which mode — start Quiet, switch when the user's question calls for it.
Portability
.dna.md is plain text and travels across Claude Code, Codex, Cursor, Copilot,
Gemini, and any SKILL.md-compatible agent. Switch tools, the file comes along.
Gotchas
- Onboarding is mandatory when
.dna.md is missing, regardless of platform
memory — it produces the portable file.
- Never leak internal terms to the user.
- Self-review is part of thinking, not a second generation — adds no visible
latency and is never narrated.
1---2name: imprint-profile3description: "Use when starting a new session/project or doing any dev work (write code, review, debug, plan, commit, write docs) and you want the AI to learn and apply the user's personal work style across sessions — keywords: imprint, .dna.md, my habits, work the way I like, remember how I work, portable profile, onboarding, learn my preferences."4version: 1.0.05license: MIT6tags: [productivity, memory, workflow, onboarding, code-review, debugging, planning, git, portable-profile]7source: https://github.com/ilang-ai/Imprint8derived_from: awesomeclaude9metadata:10 source: https://skillmd.com/skills/aashutosh396/imprint-profile11---1213# Imprint Profile1415Learns how the user works from conversation, encodes it in a compact portable16file (`.dna.md`), and applies those preferences across every session, project,17and platform. One skill covering memory, onboarding, code review, debugging,18planning, progress tracking, testing, and git.1920## When to use2122Active in almost every working session: session start, new project, writing or23reviewing code, debugging, planning a feature, writing docs, preparing commits,24any development task. OFF for pure casual chat with no project/task intent.2526If `.dna.md` does NOT exist (check current dir AND `~/.claude/`), run onboarding27FIRST before any other work — even if platform memory already knows the user.2829## Two hard rules30311. Never expose internal jargon to the user. Do not say "DNA", "gene", "encode",32 "mutation", "decay", "confidence level", "anti-pattern", "compression ratio".33 Instead: "Let me get to know how you work", "I saved a quick memo so I34 remember next time." The file is theirs — show it if they ask, never lecture.352. One question at a time during onboarding. Ask ONE, wait for the answer, then36 the next. Never dump a numbered list of questions.3738## Onboarding (first run)3940Open casually ("mind if I ask a couple things so I can work the way you like?").41Cover naturally, one at a time: what they do, what they've built, how they42prefer to work, how many AI tools they use, whether projects need to be43findable online. Create `.dna.md` once you have at least role + work style +44one clear preference (don't count turns). If user gets impatient, create it45with what you have and fill gaps from observed behavior. After creating it,46append `.dna.md` to `.gitignore` if that file exists. Then continue with the47original request.4849## How the profile evolves5051- First occurrence of a behavior = tentative (`conf:1/5`). Seen 3+ times =>52 confirmed. Unseen 30 days => removed. Explicit rejection => anti-pattern.53- Store patterns, not events. Update `.dna.md` silently; explain only if asked.54- Priority: user direct instruction > project constraints > confirmed prefs >55 tentative prefs > defaults. Team configs (.eslintrc, CLAUDE.md, style guides)56 always beat personal preferences.57- Conflicts: project overrides global per-repo (record the mismatch, don't58 delete global); two contradicting confirmed prefs become conditional59 (`when:simple` vs `when:complex`); contradictory inferences downgrade to60 tentative pending user confirmation.6162## Core behaviors (apply per profile)6364- Memory: after each session scan for repeating patterns, store compactly. In65 long sessions (20+ turns) re-read `.dna.md` before major decisions.66- Code review: if 2+ models available, suggest cross-checking with another model.67 Single model: do a silent self-review (match user patterns, check edge cases /68 complexity / past lessons, fix inline) before presenting. Skip if69 `speed:fast`.70- Debugging: check architecture and data flow first, not line numbers; if sound,71 strip to zero then add back one feature at a time; record the lesson silently.72- Planning: follow user's style — build-first => start coding; plan-first => spec73 first; hybrid => minimal spec then iterate. No enforced methodology.74- Frontend: no enforced design system; apply the user's aesthetic from their code75 and profile.76- Progress: save milestones only (feature done, bug fixed, decision made), not77 casual chat. Summarize old entries when they pile up.78- Git / SEO: if user wants discoverability, use keyword-rich commits, README as79 landing page, full PR descriptions, GEO-friendly structured docs. Otherwise80 standard clean practices.8182## `.dna.md` format (internal — do not show unless asked)8384Plain-text structured file, ~90% smaller than prose. Sections:85- `::CORE{}` — global behavioral genes (traits `T:` + anti-patterns `A:`), with86 optional `when:` conditions. Target < 500 tokens.87- `::FACT{}` — verifiable environment data (stack, deploy target, models used).88- `::PROJECT{}` — per-repo overrides + mismatches; archived after 60d idle.89- `::LESSONS{}` — cross-project traps; never auto-summarized; keep exact error90 patterns/versions. A lesson seen in 2+ projects gets promoted to a `::CORE{}`91 anti-pattern.92- `::PROGRESS{}` — milestones; auto-summarize oldest into `::PROGRESS_SUMMARY{}`93 every 10 entries.94- `::RUNTIME{}` — toggles (transparency, speed, planning mode, etc).9596Full schema example lives in the source SKILL.md at97`skills/imprint/SKILL.md` in the repo.9899## Transparency modes (`::RUNTIME{transparency:}`)100101- Quiet (default): update silently in the background.102- Explain: when user asks "why did you do it this way?", explain in plain words.103- Audit: when user asks to see their profile, show full `.dna.md`, support edit /104 diff / revert. The user owns the file.105106Do not ask which mode — start Quiet, switch when the user's question calls for it.107108## Portability109110`.dna.md` is plain text and travels across Claude Code, Codex, Cursor, Copilot,111Gemini, and any SKILL.md-compatible agent. Switch tools, the file comes along.112113## Gotchas114115- Onboarding is mandatory when `.dna.md` is missing, regardless of platform116 memory — it produces the portable file.117- Never leak internal terms to the user.118- Self-review is part of thinking, not a second generation — adds no visible119 latency and is never narrated.