Agent Files
Understanding the structure of generated agent files.
Location
Agent files are stored in .claude/agents/:
.claude/agents/ frontend-executor/AGENT.md backend-executor/AGENT.md feature-planner/AGENT.md code-reviewer/AGENT.md
AGENT.md Structure
Each agent file contains:
- Role - what the agent does
- Patterns - discovered conventions to follow
- Rules - additional rule modules (e.g., accessibility)
- Examples - reference files from your codebase
Modifying Agents
You can manually edit agent files to add custom rules or adjust patterns. Changes take effect immediately.
Optional Agents
Beyond the core agents, you can install optional agents from the Hypr agent directory:
/hypr:list # Browse available agents /hypr:add accessibility-analyzer # Install an agent Optional agents extend Hypr's capabilities for specific use cases:
- accessibility-analyzer - WCAG 2.1 compliance auditing
- security-scanner - Security vulnerability detection
- testing-agent - Test suite generation
- migration-agent - Framework migration assistance
Custom Agents
You can also install agents from GitHub repos or local paths:
/hypr:add mycompany/custom-agent # From GitHub /hypr:add ~/local/my-agent # From local path