Your digital avatar — the markdown files that tell AI tools who you are, what you prefer, and what you're working toward.
When an AI session starts, forge-avatar reads your identity files and injects them as context. The AI then operates as your digital representative: aligned with your goals, following your preferences, remembering your decisions.
Think of it as dotfiles for AI identity. Just as .bashrc configures your shell, avatar files configure your AI environment.
CLAUDE.mdandAGENTS.mdare autogenerated by/Init(forge-init.sh). Do not edit directly — run/Update(forge-update.sh) to regenerate.
Identity — the first of forge-core's three layers (Identity / Behaviour / Knowledge). Loaded once at session start via the SessionStart hook.
Your avatar is defined by two core identity files plus eight self-knowledge directories (one file per item, inspired by the TELOS framework):
| File | Purpose |
|---|---|
Identity.md |
Who you are — background, role, expertise, interests |
Preferences.md |
How you communicate — code style, decision-making principles |
Goals.md |
Mission and active objectives, principles |
Faultlines.md |
Civilization-level tensions driving mission (FL1–FL4) |
Beliefs.md |
Core convictions and values (B1–B12) |
Strategies.md |
Approaches to problem-solving (S1–S6) |
Models.md |
Mental frameworks for decision-making (MD1–MD7) |
Narratives.md |
Elevator pitch and self-description (draft) |
Challenges.md |
Personal obstacles and operational constraints (C1–C9) |
Frames.md |
Decision lenses applied contextually (F1–F5) |
Beyond the core three, your avatar can include:
- Agents/ — specialist personas (researcher, reviewer, logger)
- Patterns/ — reusable prompt templates with
{input}placeholders - Memory/ — imperatives, insights, and ideas accumulated over time
- Backlog.md — persistent task list across sessions
The actual content lives in your workspace — never in this module. The module provides the loading framework; you fill it with your life.
-
Copy the scaffold to your workspace:
cp -r scaffold/ ~/my-workspace/Orchestration/ -
Edit the core files:
Identity.md— replace placeholders with your infoPreferences.md— set your communication and code styleGoals.md— add your current objectives
-
Set
AVATAR_ROOTif your files aren't at the default path:export AVATAR_ROOT="$HOME/my-workspace/Orchestration"
-
Test the loader:
bash hooks/session-start.sh
- Identity.md — Name, background, current role, expertise, interests. This is what the AI reads first.
- Preferences.md — Communication style, code conventions, decision-making principles. Shapes how the AI interacts with you.
- Goals.md — Mission, active objectives, completed goals, guiding principles. Gives the AI direction.
- Faultlines/ — Civilization-level tensions driving mission and values (FL1–FL4). The big problems worth caring about.
- Beliefs.md — Core convictions and values (B1–B12). Non-negotiable principles that shape decisions.
- Strategies.md — Approaches to solving problems (S1–S6). How you attack challenges.
- Models.md — Mental frameworks for decision-making (MD1–MD7). First principles, systems thinking, Pareto, Range-Frequency Theory.
- Narratives.md — How you describe yourself to the world (draft). Elevator pitch, identity framing.
- Challenges/ — Personal obstacles and operational constraints (C1–C9). Where Faultlines and life circumstances meet daily reality.
- Frames.md — Decision lenses (F1–F5). Contextual perspectives for evaluating choices.
| Template | Creates |
|---|---|
Templates/Agent.md |
Specialist persona with role, expertise, personality, instructions, constraints |
Templates/Pattern.md |
Prompt template with system prompt, instructions, output format, {input} |
Templates/Imperative.md |
Imperative record with context, rationale, status |
Templates/Insight.md |
Insight record with origin, finding, actionable rule |
Templates/Idea.md |
Idea record with spark, description, status tracking |
- Researcher.md — Investigates topics, finds sources, synthesizes findings
- Summarize.md — Condense content to key points
- Fix Grammar.md — Grammar and spelling correction
- Explain Simply.md — Rewrite for clarity at a 6th-grade level
- Extract Alpha.md — Pull genuinely surprising insights (Shannon information theory)
Memory/Imperatives/— Individual imperative filesMemory/Insights/— Individual insight filesMemory/Ideas/— Individual idea files
module.yaml — checked into git:
name: forge-avatar
version: 0.3.0
description: Digital avatar loader — identity, self-knowledge, goals. USE WHEN you need identity, preferences, goals, or self-knowledge context.
events:
- SessionStart| Variable | Default | Description |
|---|---|---|
FORGE_USER_ROOT |
(set by forge-core dispatch) | User content root; avatar reads $FORGE_USER_ROOT/Resources/Avatar/ |
Copy Templates/Agent.md, fill in the role, expertise, personality, and instructions. Save to Agents/YourAgent.md.
Copy Templates/Pattern.md, define system prompt, instructions, and output format. Save to Patterns/YourPattern.md. Always include {input} where the user's content goes.
As you work, the AI (or you) creates files in Memory/:
- Imperatives go in
Memory/Imperatives/Title.md - Insights go in
Memory/Insights/Title.md - Ideas go in
Memory/Ideas/Title.md
These accumulate over time and can be searched by future sessions.
Use Core/bin/paths.sh as the shared cross-platform path contract.
From the repository root:
eval "$(bash Core/bin/paths.sh)"Then use the exported values (FORGE_ROOT, FORGE_USER_ROOT, SAFE_READ_CMD, SAFE_WRITE_CMD, memory paths, journal path, backlog path) instead of re-implementing path/env resolution inside skills.