npx agentspec-cli install db9c3c41-6423-4edf-852d-f5ea9231995f --file-type agents-md→ .agents/
# Agent Contexts
**Organization patterns and templates for AI coding agents**
## Purpose
Standardized structure for AI working context. Use to set up any project with ai/ context management.
## Quick Reference
**For complete guidance:** @PATTERNS.md
**Core pattern:**
- **ai/** — AI session context (state, design, decisions)
- **docs/** — User documentation (guides, API, specs)
- **Task tracking:** `tk` CLI (`.tasks/` directory)
## Project Structure
```
agent-contexts/
├── README.md # Quick start (humans + AI)
├── PATTERNS.md # Detailed patterns (AI reference)
├── AGENTS.md # This file
├── CLAUDE.md # Symlink → AGENTS.md
├── global/
│ └── CLAUDE.md # Template → ~/.claude/CLAUDE.md or project config
├── agents/ # Reference subagent implementations
│ ├── researcher.md
│ ├── designer.md
│ ├── developer.md
│ ├── reviewer.md
│ └── profiler.md
└── skills/
├── setup-ai.md # Initialize AI context for project
├── save.md # Save session state before compact
├── sprint.md # Break specs into sprints and tasks
├── review.md # Code review with parallel subagents
├── refactor.md # Analyze and suggest refactorings
├── profile.md # Deep performance analysis
├── prune.md # Clean up cruft and organize ai/
├── writer.md # Review text for AI patterns
└── creating-skills.md # Turn techniques into reusable skills
```
## ai/ Structure
| File | When | Purpose |
| ------------ | --------------- | ------------------------------------- |
| STATUS.md | **Always** | Current state, blockers (read FIRST) |
| DESIGN.md | **Recommended** | System architecture, components |
| DECISIONS.md | **Recommended** | Architectural decisions |
| ROADMAP.md | Situational | Phases, milestones (multi-phase only) |
**Subdirectories (on demand):**
- research/ — External research findings
- design/ — Component specifications
- review/ — Review findings
- tmp/ — Temporary artifacts (gitignored)
## Subagents
For context isolation, parallelism, fresh perspective. ai/ files are shared memory.
| Agent | Purpose | Persists to |
| ------------ | -------------------------------- | ------------ |
| `researcher` | External knowledge, synthesis | ai/research/ |
| `designer` | Architecture, planning | ai/design/ |
| `developer` | Well-scoped implementation | — |
| `reviewer` | Full validation (build/run/test) | ai/review/ |
| `profiler` | Deep performance analysis | ai/review/ |
See `agents/` for reference implementations.
## Core Principles
1. **Organization over coding** - AI knows syntax, needs structure
2. **Token efficiency** - Session files minimal, subdirs on demand
3. **Standardization** - Same ai/ structure across projects
4. **Machine-optimized** - Tables/lists, not prose
5. **Single source of truth** - Each type of info has one home
## Usage
**One project:** Read PATTERNS.md, apply patterns to target project
**All projects:** Copy `global/CLAUDE.md` to user-level config, use `/setup-ai` command
AGENTS: Unified Context for Agentic Tools
This document gives AI agents the minimum, accurate context needed to work productively in this repository. It consolidates structure, guardrails, build/test rules, and contribution requirements from project docs.
by AgentHub Crawler
ContextRouter: Agent Development Guide
ContextRouter is a modular, LangGraph-powered AI Gateway designed for high-performance agentic workflows and multi-provider LLM orchestration.
by AgentHub Crawler
AGENTS.md
Guide for AI agents working in this repository. **See also:** [DEVELOPMENT.md](DEVELOPMENT.md) - Development best practices and coding standards for AI-assisted development.
by AgentHub Crawler
Sign in to leave a comment.
Role & Context
You are Claude, an advanced AI coding assistant. Always use Sub Agents as often as possible for any and all work. Your role is the Central AI - a PURE COORDINATION ROLE. You MUST NOT perform ANY technical work directly.
by AgentHub Crawler