{"id":"371c2e75-8375-4301-94f8-d9d43797d9e1","shortId":"b82xqV","kind":"skill","title":"dna","tagline":"Export or import your personality DNA -- a compact ~2000-token document that captures your core identity, decision patterns, values, and style. Use /dna export to save, /dna import to restore, or /dna show to preview.","description":"# Personality DNA -- Compact Portable Identity\n\nDistills the entire personality model into a single ~2000-token JSON document that can be versioned, exported, and used to cold-start a new instance.\n\n## How It Works\n\n1. **Compile** -- Read all personality data (user model, style profiles, exemplar fingerprints)\n2. **Compress** -- Distill into the most essential patterns, values, and style markers\n3. **Export** -- Save as a portable JSON file at `~/.nomos/personality-dna.json`\n4. **Import** -- Load DNA to seed an empty user model (cold-start a new instance)\n\n## Commands\n\n- `/dna export` -- Compile and export personality DNA\n- `/dna import` or `/dna import <file>` -- Import DNA from file\n- `/dna show` -- Preview the current DNA without exporting\n- `/dna diff` -- Compare current personality against last exported DNA\n\n## Export Protocol\n\nWhen the user invokes `/dna export`:\n\n### Phase 1: Gather\n\n1. Call `user_model_recall` to load the full user model\n2. Call `memory_search` for exemplars\n3. Load style profile data if available\n\n### Phase 2: Compile\n\nBuild the DNA document with these sections:\n\n```json\n{\n  \"version\": \"1.0\",\n  \"compiled_at\": \"ISO timestamp\",\n  \"identity\": {\n    \"summary\": \"2-3 sentence description of who this person is\",\n    \"roles\": [\"role1\", \"role2\"],\n    \"expertise\": [\"area1\", \"area2\"]\n  },\n  \"decision_patterns\": [\n    {\n      \"principle\": \"...\",\n      \"context\": \"...\",\n      \"weight\": 0.9,\n      \"exceptions\": [\"...\"]\n    }\n  ],\n  \"values\": [\n    {\n      \"value\": \"...\",\n      \"description\": \"...\",\n      \"rank\": 1\n    }\n  ],\n  \"style_genome\": {\n    \"formality\": 3,\n    \"tone\": \"direct\",\n    \"avg_length\": \"moderate\",\n    \"emoji_usage\": \"rare\",\n    \"vocabulary_markers\": [\"word1\", \"word2\"],\n    \"punctuation_style\": \"standard\",\n    \"signature_phrases\": [\"phrase1\"]\n  },\n  \"behavioral_signatures\": {\n    \"response_speed\": \"quick\",\n    \"detail_preference\": \"moderate\",\n    \"question_style\": \"direct\",\n    \"conflict_approach\": \"collaborative\"\n  },\n  \"exemplar_fingerprints\": [\n    {\n      \"text\": \"short representative message\",\n      \"context\": \"slack_work\"\n    }\n  ]\n}\n```\n\n### Phase 3: Review\n\nPresent the compiled DNA to the user:\n\n```\nPersonality DNA compiled successfully.\n\nIdentity: [summary]\nDecision patterns: [count] (top 3 listed)\nValues: [count] (top 3 listed)\nStyle markers: [key characteristics]\nExemplar fingerprints: [count]\n\nTotal size: ~XXXX tokens\n\nExport to ~/.nomos/personality-dna.json?\n```\n\n### Phase 4: Export\n\nAfter user confirmation:\n\n1. Write to `~/.nomos/personality-dna.json`\n2. Also store in config DB under key `personality.dna`\n3. Report success\n\n## Import Protocol\n\nWhen the user invokes `/dna import`:\n\n### Phase 1: Load\n\n1. Read from the specified file (default: `~/.nomos/personality-dna.json`)\n2. Validate the DNA structure\n\n### Phase 2: Preview\n\nShow what will be imported:\n\n- Number of patterns, values, style markers\n- Whether it will merge with or replace existing data\n\n### Phase 3: Inflate\n\nFor each section of the DNA:\n\n1. **Decision patterns** -- create user_model entries with confidence 0.7 (imported, not directly observed)\n2. **Values** -- create user_model entries with confidence 0.7\n3. **Style genome** -- create/update global style profile\n4. **Exemplar fingerprints** -- store as exemplar memory chunks\n\n### Phase 4: Report\n\n```\nDNA imported successfully.\nCreated: X decision patterns, Y values, Z style markers\nStarting confidence: 0.7 (will increase as patterns are confirmed through interaction)\n```\n\n## Important Rules\n\n- **Compress ruthlessly** -- the DNA must be under ~2000 tokens. Prioritize signal density.\n- **Top 10 patterns only** -- rank by weight, take the most impactful\n- **Top 5 values only** -- rank by confidence\n- **3-5 exemplar fingerprints** -- the most representative short messages\n- **Import at 0.7 confidence** -- imported data is plausible but unverified\n- **Never overwrite** -- import merges, doesn't replace existing high-confidence entries\n- **Version the DNA** -- include compilation timestamp and version number\n- **Diff support** -- `/dna diff` shows what changed since last export","tags":["dna","nomos","project-nomos","agent-memory","agent-skills","agentic-ai","ai-agents","ai-assistant","autonomous-agents","claude","claude-ai","claude-code"],"capabilities":["skill","source-project-nomos","skill-dna","topic-agent-memory","topic-agent-skills","topic-agentic-ai","topic-ai-agents","topic-ai-assistant","topic-autonomous-agents","topic-claude","topic-claude-ai","topic-claude-code","topic-claude-skills","topic-digital-clone","topic-llm"],"categories":["nomos"],"synonyms":[],"warnings":[],"endpointUrl":"https://skills.sh/project-nomos/nomos/dna","protocol":"skill","transport":"skills-sh","auth":{"type":"none","details":{"cli":"npx skills add project-nomos/nomos","source_repo":"https://github.com/project-nomos/nomos","install_from":"skills.sh"}},"qualityScore":"0.457","qualityRationale":"deterministic score 0.46 from registry signals: · indexed on github topic:agent-skills · 14 github stars · SKILL.md body (4,103 chars)","verified":false,"liveness":"unknown","lastLivenessCheck":null,"agentReviews":{"count":0,"score_avg":null,"cost_usd_avg":null,"success_rate":null,"latency_p50_ms":null,"narrative_summary":null,"summary_updated_at":null},"enrichmentModel":"deterministic:skill-github:v1","enrichmentVersion":1,"enrichedAt":"2026-04-22T01:02:18.627Z","embedding":null,"createdAt":"2026-04-21T19:04:07.642Z","updatedAt":"2026-04-22T01:02:18.627Z","lastSeenAt":"2026-04-22T01:02:18.627Z","tsv":"'-3':210 '-5':497 '/.nomos/personality-dna.json':104,321,331,362 '/dna':24,28,33,122,129,132,138,146,161,350,538 '0.7':409,422,455,507 '0.9':229 '1':71,164,166,235,328,353,355,400 '1.0':202 '10':479 '2':83,177,191,209,332,363,369,414 '2000':10,50,473 '3':95,183,239,282,301,306,341,392,423,496 '4':105,323,430,439 '5':490 'also':333 'approach':270 'area1':222 'area2':223 'avail':189 'avg':242 'behavior':258 'build':193 'call':167,178 'captur':14 'chang':542 'characterist':311 'chunk':437 'cold':63,116 'cold-start':62,115 'collabor':271 'command':121 'compact':9,39 'compar':148 'compil':72,124,192,203,286,293,531 'compress':84,466 'confid':408,421,454,495,508,525 'config':336 'confirm':327,461 'conflict':269 'context':227,278 'core':16 'count':299,304,314 'creat':403,416,444 'create/update':426 'current':142,149 'data':76,187,390,510 'db':337 'decis':18,224,297,401,446 'default':361 'densiti':477 'descript':212,233 'detail':263 'diff':147,536,539 'direct':241,268,412 'distil':42,85 'dna':1,7,38,108,128,135,143,154,195,287,292,366,399,441,469,529 'document':12,53,196 'doesn':519 'emoji':245 'empti':112 'entir':44 'entri':406,419,526 'essenti':89 'except':230 'exemplar':81,182,272,312,431,435,498 'exist':389,522 'expertis':221 'export':2,25,58,96,123,126,145,153,155,162,319,324,545 'file':102,137,360 'fingerprint':82,273,313,432,499 'formal':238 'full':174 'gather':165 'genom':237,425 'global':427 'high':524 'high-confid':523 'ident':17,41,207,295 'impact':488 'import':4,29,106,130,133,134,344,351,375,410,442,464,505,509,517 'includ':530 'increas':457 'inflat':393 'instanc':67,120 'interact':463 'invok':160,349 'iso':205 'json':52,101,200 'key':310,339 'last':152,544 'length':243 'list':302,307 'load':107,172,184,354 'marker':94,249,309,381,452 'memori':179,436 'merg':385,518 'messag':277,504 'model':46,78,114,169,176,405,418 'moder':244,265 'must':470 'never':515 'new':66,119 'number':376,535 'observ':413 'overwrit':516 'pattern':19,90,225,298,378,402,447,459,480 'person':6,37,45,75,127,150,216,291 'personality.dna':340 'phase':163,190,281,322,352,368,391,438 'phrase':256 'phrase1':257 'plausibl':512 'portabl':40,100 'prefer':264 'present':284 'preview':36,140,370 'principl':226 'priorit':475 'profil':80,186,429 'protocol':156,345 'punctuat':252 'question':266 'quick':262 'rank':234,482,493 'rare':247 'read':73,356 'recal':170 'replac':388,521 'report':342,440 'repres':276,502 'respons':260 'restor':31 'review':283 'role':218 'role1':219 'role2':220 'rule':465 'ruthless':467 'save':27,97 'search':180 'section':199,396 'seed':110 'sentenc':211 'short':275,503 'show':34,139,371,540 'signal':476 'signatur':255,259 'sinc':543 'singl':49 'size':316 'skill' 'skill-dna' 'slack':279 'source-project-nomos' 'specifi':359 'speed':261 'standard':254 'start':64,117,453 'store':334,433 'structur':367 'style':22,79,93,185,236,253,267,308,380,424,428,451 'success':294,343,443 'summari':208,296 'support':537 'take':485 'text':274 'timestamp':206,532 'token':11,51,318,474 'tone':240 'top':300,305,478,489 'topic-agent-memory' 'topic-agent-skills' 'topic-agentic-ai' 'topic-ai-agents' 'topic-ai-assistant' 'topic-autonomous-agents' 'topic-claude' 'topic-claude-ai' 'topic-claude-code' 'topic-claude-skills' 'topic-digital-clone' 'topic-llm' 'total':315 'unverifi':514 'usag':246 'use':23,60 'user':77,113,159,168,175,290,326,348,404,417 'valid':364 'valu':20,91,231,232,303,379,415,449,491 'version':57,201,527,534 'vocabulari':248 'weight':228,484 'whether':382 'without':144 'word1':250 'word2':251 'work':70,280 'write':329 'x':445 'xxxx':317 'y':448 'z':450","prices":[{"id":"92995983-a1e0-44ed-aff6-c39089736930","listingId":"371c2e75-8375-4301-94f8-d9d43797d9e1","amountUsd":"0","unit":"free","nativeCurrency":null,"nativeAmount":null,"chain":null,"payTo":null,"paymentMethod":"skill-free","isPrimary":true,"details":{"org":"project-nomos","category":"nomos","install_from":"skills.sh"},"createdAt":"2026-04-21T19:04:07.642Z"}],"sources":[{"listingId":"371c2e75-8375-4301-94f8-d9d43797d9e1","source":"github","sourceId":"project-nomos/nomos/dna","sourceUrl":"https://github.com/project-nomos/nomos/tree/main/skills/dna","isPrimary":false,"firstSeenAt":"2026-04-21T19:04:07.642Z","lastSeenAt":"2026-04-22T01:02:18.627Z"}],"details":{"listingId":"371c2e75-8375-4301-94f8-d9d43797d9e1","quickStartSnippet":null,"exampleRequest":null,"exampleResponse":null,"schema":null,"openapiUrl":null,"agentsTxtUrl":null,"citations":[],"useCases":[],"bestFor":[],"notFor":[],"kindDetails":{"org":"project-nomos","slug":"dna","github":{"repo":"project-nomos/nomos","stars":14,"topics":["agent-memory","agent-skills","agentic-ai","ai-agents","ai-assistant","autonomous-agents","claude","claude-ai","claude-code","claude-skills","digital-clone","llm","mcp","multi-agent","multi-agent-systems","ollama","self-hosted"],"license":"mit","html_url":"https://github.com/project-nomos/nomos","pushed_at":"2026-04-18T00:18:33Z","description":"Your AI digital clone — learns who you are, acts on your behalf, remembers everything. Persistent vector memory, multi-agent teams, 60+ skills, smart model routing. Self-hosted, encrypted, multi-provider (Claude/Ollama/OpenRouter). Deploy to Slack, Discord, Telegram, WhatsApp & more in minutes.","skill_md_sha":"090547df629dc4c9c3ae7370c6f60de22daec1f3","skill_md_path":"skills/dna/SKILL.md","default_branch":"main","skill_tree_url":"https://github.com/project-nomos/nomos/tree/main/skills/dna"},"layout":"multi","source":"github","category":"nomos","frontmatter":{"name":"dna","description":"Export or import your personality DNA -- a compact ~2000-token document that captures your core identity, decision patterns, values, and style. Use /dna export to save, /dna import to restore, or /dna show to preview."},"skills_sh_url":"https://skills.sh/project-nomos/nomos/dna"},"updatedAt":"2026-04-22T01:02:18.627Z"}}