By hungson175
Create ONE self-contained personal AI agent in its own folder, with a two-part brain: Claude Code file-based memory plus a knowledge base built with Andrej Karpathy's LLM-wiki method (append-only raw/ + distilled wiki/ with backlinks). The agent is standalone and reports to no one. Bundles tm-send, a hardened tmux send-keys for optional inter-agent messaging.
A tiny kit for spinning up standalone personal AI agents with Claude Code (or any compatible CLI). It contains:
create-general-agent — a skill that scaffolds one self-contained agent in its own folder, each with a two-part brain:
memory/) — Claude Code-style file-based memory for durable facts, preferences, and feedback.knowledge-base/) — Andrej Karpathy's "LLM wiki" method: an append-only raw/ folder (every source verbatim — the single source of truth) and a distilled wiki/ folder (encyclopedia-style articles with [[backlinks]] and an index) that the agent writes and continuously revises.tm-send — a hardened replacement for tmux send-keys for reliably delivering a message into another agent's tmux pane (optional; only if you run more than one agent).Each created agent is standalone — it does not report to or coordinate with any other agent. It just works for you, in its own folder, and gets smarter over time by keeping its memory and wiki current.
Rule of thumb the agent follows: memory = what to remember about you and the work; wiki = what it has learned about the subject.
In Claude Code:
/plugin marketplace add hungson175/claude-agent-kit
/plugin install create-general-agent@claude-agent-kit
git clone https://github.com/hungson175/claude-agent-kit.git
cp -r claude-agent-kit/skills/create-general-agent ~/.claude/skills/
tm-send (optional, only for multi-agent messaging)cd claude-agent-kit
./bin/install-tm-send.sh # installs to ~/.local/bin (override: ./bin/install-tm-send.sh /custom/bin)
tm-send --help
Just tell Claude Code what you want the agent for — the skill triggers on phrases like "create an agent", "make me a tutor agent", "scaffold an agent with memory and a knowledge base". Or run the scaffolder directly:
~/.claude/skills/create-general-agent/scripts/create_general_agent.sh \
rust-tutor "Teach me Rust by building a real CLI project."
cd ~/agents/rust-tutor && claude
Common options:
--project-dir PATH where to create it (default ~/agents/<slug>)
--command CMD CLI the agent runs in: claude (default), codex, opencode, ...
--context-file PATH a file of extra mission context, embedded for first boot
--launch also start it in a tmux session
--no-git skip git init
<agent>/
├── CLAUDE.md + AGENTS.md -> CLAUDE.md # mission + brain rules + boot sequence
├── .gitignore
├── docs/ tasks/ outputs/ scripts/ context/
├── memory/ # ① fast tier
│ ├── MEMORY.md # index, loaded every session
│ └── _template.md # one fact per file, with frontmatter
└── knowledge-base/ # ② deep tier (Karpathy LLM-wiki)
├── README.md # the update loop
├── raw/ # APPEND-ONLY sources (never edited)
└── wiki/
├── index.md # map of all articles
└── _templates/article.md # distilled-article format
Whenever the agent ingests something new:
knowledge-base/raw/ verbatim, with a short provenance header. Never edit raw files.wiki/ concept(s) it touches.wiki/<concept>.md: revise the summary, fold in new facts, flag contradictions, strengthen [[backlinks]], and update wiki/index.md.The raw/ pile only grows; the wiki/ gets smarter and more cross-linked. A memory file may also point into the wiki with [[a-wiki-page]].
tm-send quick referencetm-send <role> "message" # send to a role's pane in the current session
tm-send -s <session> <role> "message" # target a specific session
tm-send --list # list roles (panes) in the session
It verifies the target pane belongs to the right session and handles per-CLI submit quirks (Claude Code / OpenCode need a second Enter; Codex needs a buffer-paste + delayed Enter) — the failure modes that make raw tmux send-keys drop or strand messages.
MIT licensed. Contributions welcome.
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub hungson175/claude-agent-kit --plugin create-general-agentIngest business documents (.pptx, .pdf, .xlsx, .docx) into FAITHFUL markdown for RAG/review — VLM-first (Vision-Language Model), not OCR. Extracts charts (to JSON), tables (to HTML), and verbatim text, and self-checks fidelity with an independent judge model. Validated 10/10 on real documents.
Claude + Obsidian knowledge companion. Sets up a persistent, compounding wiki vault (Karpathy's LLM Wiki pattern). v1.7 "Compound Vault" + v1.8 methodology modes close 5 of 5 priority gaps from the May 2026 compass artifact. Ships: substrate alignment with kepano/obsidian-skills, default Obsidian CLI transport, hybrid retrieval (contextual prefix + BM25 + cosine rerank per Anthropic's Sept 2024 research), per-file advisory locking for multi-writer safety, pre-commit verifier agent, AND methodology modes (LYT / PARA / Zettelkasten / Generic) for first-class organizational support no other Claude+Obsidian competitor offers. v1.7.x audit closure: every BLOCKER + HIGH + MEDIUM + LOW finding from the v1.7.0 audit is CLOSED or DEFERRED-with-rationale. Optional DragonScale Memory extension (log folds, deterministic addresses, semantic tiling lint, boundary-first autoresearch).
Build and maintain an LLM-curated personal knowledge base in your project — Andrej Karpathy's LLM Wiki pattern, designed to scale to thousands of pages without becoming a context bottleneck. Now with an optional compiled graph layer for typed, provenance-backed relationships.
Complete AI coding workflow system. Self-correcting memory + persistent FTS5-indexed research wikis + auto-research loop + multi-LLM council on a single SQLite store. 33 skills, 8 agents, 22 commands, 37 hook scripts across 24 events. Cross-agent via SkillKit.
Upstash Context7 MCP server for up-to-date documentation lookup. Pull version-specific documentation and code examples directly from source repositories into your LLM context.
Connect to Atlassian products including Jira and Confluence. Search and create issues, access documentation, manage sprints, and integrate your development workflow with Atlassian's collaboration tools.
AI-powered wiki generator for code repositories. Generates comprehensive, Mermaid-rich documentation with dark-mode VitePress sites, onboarding guides, deep research, and source citations. Inspired by OpenDeepWiki and deepwiki-open.