Core Workflows
Code Review Workflow
Use the task launcher to spin up a code review agent.Review the recent code changes in this project. Look for bugs,
security issues, and suggest improvements. Focus on the most
recently modified files.
Debugging Workflow
When you encounter a bug, use the Debug preset to investigate.Click the Debug preset in the Task Launcher. The agent sees the task via MCP and knows what to investigate.
codefire_tasks_list)Writing Tests Workflow
Generate test coverage for critical business logic.Analyze the codebase and write tests for any untested or
under-tested code. Focus on critical business logic and edge cases.
Refactoring Workflow
Improve code quality without changing behavior.Using the Task Launcher
The Task Launcher provides one-click access to common workflows.Available Presets
| Preset | Icon | Use Case |
|---|---|---|
| Code Review | 👁️ | Review recent changes for bugs and improvements |
| Write Tests | ✅ | Generate test coverage for untested code |
| Debug | 🐛 | Investigate bugs and error-prone patterns |
| Refactor | 🔄 | Improve code quality and reduce duplication |
| Documentation | 📄 | Add or improve documentation and comments |
| Security Audit | 🔒 | Check for vulnerabilities and security issues |
Custom Prompts
For one-off tasks, use the Custom prompt field: Examples:- “Add dark mode support to the settings page”
- “Optimize the database query in user-service.ts”
- “Write a migration script to add a new column to users table”
Managing Sessions and Costs
CodeFire tracks every Claude Code session with detailed cost and usage data.Viewing Session History
- Click the Sessions tab
- Browse all past sessions for the project
- Click a session to see:
- Token usage (input, output, cache)
- Cost breakdown (by token type)
- Files changed
- Tools invoked
- Message count
Live Session Monitoring
When a Claude Code session is active:- Switch to the Sessions tab
- CodeFire displays a Live Activity Feed:
- Real-time token usage
- Running cost tracker
- Files being read/written
- Tools invoked (bash, read, edit, etc.)
Cost Tracking
CodeFire calculates costs based on Anthropic’s pricing:- Input tokens: $3 per million
- Output tokens: $15 per million
- Cache creation: $3.75 per million
- Cache read: $0.30 per million
Reducing Costs
Use prompt caching: Claude Code automatically caches project context. Subsequent sessions reuse cached tokens (cheaper). Be specific: Provide clear, focused prompts to reduce unnecessary tool invocations. Monitor token usage: If a session is using excessive tokens, cancel it (Ctrl+C) and refine your prompt. Batch tasks: Instead of launching multiple sessions, combine related tasks into one prompt:Dev Tools
CodeFire auto-detects your project’s package manager and provides quick-launch buttons.Auto-Detected Commands
CodeFire detects:- npm (package.json + package-lock.json)
- yarn (package.json + yarn.lock)
- pnpm (package.json + pnpm-lock.yaml)
- bun (package.json + bun.lockb)
- pip (requirements.txt)
- poetry (pyproject.toml)
- cargo (Cargo.toml)
Quick-Launch Buttons
In the Dashboard tab, you’ll see buttons for:- Dev — Start dev server (
npm run dev,cargo run, etc.) - Build — Build the project (
npm run build,cargo build) - Test — Run tests (
npm test,pytest, etc.) - Lint — Run linter (
npm run lint,cargo clippy)
Tips for Effective AI Collaboration
1. Use Tasks as Context
Create tasks before launching agents. The agent can read tasks via MCP and understand what you’re working on. Example:- Task: “Add user profile page”
- Agent prompt: “Implement the user profile page task”
- Agent reads the task, sees requirements, and implements the feature.
2. Pin Important Notes
Use the Notes tab to store:- Architecture decisions
- Tricky bug fixes
- API design patterns
- Deployment checklists
3. Review Session History
Before starting a new session, check Sessions to see:- What the previous session did
- Which files were changed
- Whether tests were run
4. Use the MCP Server
The agent can:- List tasks (
codefire_tasks_list) - Create tasks (
codefire_tasks_create) - Update task status (
codefire_tasks_update) - Search notes (
codefire_notes_search) - Read codebase profile (
codefire_codebase_profile)
5. Monitor Live Sessions
Keep the Sessions tab visible during long-running tasks. If token usage spikes unexpectedly:- The agent may be stuck in a loop
- The prompt may be too broad
- Cancel and refine
6. Batch Related Tasks
Instead of launching separate sessions for:- Write feature
- Write tests
- Update docs
7. Use Custom Prompts for Specific Goals
Presets are great for common tasks, but custom prompts give you full control: Specific file:Advanced Workflows
Multi-Session Projects
For large features, break work into multiple sessions: Session 1: ResearchEmail-to-Task-to-Agent
- Email arrives — Client requests a feature via email
- Auto-task created — CodeFire creates a task from the email (via Gmail integration)
- Launch agent — Click the task, then launch a custom prompt:
- Agent completes — Task is moved to Done, client is notified
PR Review Workflow
- PR created — Developer opens a PR on GitHub
- CodeFire detects — GitHub tab shows the PR
- Launch review agent — Custom prompt:
- Agent reviews — Comments on code quality, tests, etc.
- Merge — Once approved, merge via
gh
Next Steps
CLI Integration
Set up your AI coding CLI
MCP Server
Learn about MCP tools
