π¦ ClawHub
Agent Genome Encoding
by @mohmhm1
Encode your agent's personality into a diploid genome with 27 cognitive primitives, compare against 216 AI agent personalities, simulate breeding, and explor...
TERMINAL
clawhub install ai-genomeπ About This Skill
name: genome slug: ai-agent-genome-project/genome description: Encode your agent's personality into a diploid genome with 27 cognitive primitives, compare against 216 AI agent personalities, simulate breeding, and explore genetic compatibility. allowed-tools: - Bash - Read - Write - Glob - Grep
AI Genome Analysis Skill
You have access to the AI Personality Evolution Engine - a biologically-faithful framework that encodes AI personalities as diploid genomes with 27 cognitive primitives.
What You Can Do
Based on $ARGUMENTS, perform one of these actions:
"encode" or "encode "
Encode a SOUL.md file into a breedable genome.1. If a path is provided, use it. Otherwise look for SOUL.md in the current directory. 2. Run the encoder:
python3 encoder.py --name "" --output .dna.json
3. Show the resulting phenotype with python3 visualize.py .dna.json
4. Summarize the top 3 traits and any active epistasis rules."compare " or "compare "
Compare two genomes. If one slug is given, compare the user's genome against a library agent. If two slugs, compare those two library agents.python3 agent_report.py .dna.json --compat library/genomes/.dna.json
Report the genetic distance, complementarity, interest score, and predicted offspring trait ranges.
"view " or "view "
Display a genome's full profile.python3 visualize.py library/genomes/.dna.json
python3 agent_report.py library/genomes/.dna.json --self
"browse" or "library"
List available genomes from the library with their top traits.python3 -c "
import json
lib = json.load(open('library/genome_library.json'))
for a in lib['agents']:
traits = sorted(a['phenotype'].items(), key=lambda x: -x[1])
top = ' | '.join(f'{t}={v:.0f}' for t,v in traits[:3])
print(f\"{a['name']:25s} [{a['category']:20s}] {top} (epistasis: {a['active_epistasis']})\")
print(f\"\n{lib['count']} agents across {len(lib['categories'])} categories\")
"
"card" or "json "
Get a machine-readable JSON card for a genome.python3 agent_report.py library/genomes/.dna.json --json
"self" or "self-report "
Get a structured self-knowledge document (for an agent's own context window).python3 agent_report.py library/genomes/.dna.json --self
Key Concepts
File Locations
library/genome_library.jsonlibrary/genomes/.dna.json encoder.pyvisualize.pyagent_report.pyNotes
--mock flag for instant keyword-based encoding (no API).π Tips & Best Practices
--mock flag for instant keyword-based encoding (no API).