Setup tool for AI coding agents. Installs and configures tools across Claude Code, Codex, and OpenCode.
npx github:madebymlai/agentstackSkip the interactive selector:
npx github:madebymlai/agentstack --claude --codex
npx github:madebymlai/agentstack --opencodeProject setup only (AGENTS.md, .gitignore):
npx github:madebymlai/agentstack --project
npx github:madebymlai/agentstack --project --codexPrompts you to select which tools you use (Claude Code, Codex, OpenCode), then:
| Tool | Description |
|---|---|
| tokf | Token compression binary + global hooks for selected tools (Linux/MacOS only) |
| codebase-memory | Code knowledge graph MCP server for all selected tools |
| compound-engineering | AI dev workflow plugin (Claude) / native plugin + bunx-installed agents (Codex) / bunx install (OpenCode) |
| AGENTS.md | Principles template + tokf section |
| .gitignore | Ignores .claude/, .codex/, .opencode/, CLAUDE.md, AGENTS.md |
Bundled skill installed globally for all selected tools. Interactive project setup:
- Principles - reviews AGENTS.md principles, probes codebase for project-specific additions
- tokf filters - discovers noisy commands, writes project-local filters
Tools being considered for future inclusion. These are not installed today.
| Area | Tool | Why consider it | Posture |
|---|---|---|---|
| Token analytics | tokscale | Multi-agent token and cost dashboard across Claude Code, Codex, OpenCode, Gemini, Cursor, Copilot, Amp, Zed, Goose, and more | Candidate default |
| MCP diagnostics | MCP Inspector | Official UI/CLI debugger for MCP servers, tool schemas, resources, prompts, and config validation | Candidate default |
| Session orchestration | Agent Deck | Tmux-based AI agent command center with worktrees, MCP/skills toggles, status detection, cost dashboard, and sandboxing | Optional |
| Token reduction | RTK | Command-output compaction and savings analytics for many AI coding agents; overlaps with tokf | Alternative to tokf |
| Session history | Agent History | Local CLI for listing and exporting Claude, Codex, and Gemini sessions across local, WSL, Windows, and SSH homes | Optional |
| Worktree sessions | CCManager | No-tmux TUI for managing AI coding sessions across worktrees with status detection, hooks, devcontainers, and multi-project mode | Optional |
| Parallel workflows | parallel-code | Desktop GUI for dispatching Claude, Codex, Gemini, and Copilot agents in isolated git worktrees | Optional |
| Usage reports | ccusage | Mature Claude Code usage analyzer with daily, monthly, session, and 5-hour billing-window reports | Optional |
| Repo packing | Repomix | Packs local or remote repos into AI-friendly output with token counts, security checks, compression, and MCP mode | Docs only |