tools-reference
npx machina-cli add skill ConaryLabs/Mira/tools-reference --openclawMira Consolidated Tools Reference
Mira exposes 8 MCP tools to Claude Code. Additional actions are available via the mira tool CLI.
project — Project/Session Management
project(action="start", project_path="...", name="...") # Initialize session
project(action="get") # Show current project
code — Code Intelligence
code(action="search", query="authentication middleware", limit=10)
code(action="symbols", file_path="src/main.rs", symbol_type="function")
code(action="callers", function_name="handle_login", limit=20)
code(action="callees", function_name="process_request", limit=20)
diff — Semantic Diff Analysis
diff() # Auto-detects staged/working/last commit
diff(from_ref="main", to_ref="feature/x")
diff(from_ref="v1.0", to_ref="v1.1", include_impact=true)
session — Session Management
session(action="current_session") # Show current session
session(action="recap") # Quick overview: goals, sessions, insights
insights — Background Analysis & Insights
insights(action="insights", insight_source="pondering", min_confidence=0.5)
insights(action="dismiss_insight", insight_id=42) # Remove resolved insight
goal — Cross-Session Goal Tracking
goal(action="create", title="...", description="...", priority="high")
goal(action="bulk_create", goals='[{"title": "...", "priority": "medium"}]')
goal(action="list", include_finished=false, limit=10)
goal(action="get", goal_id=1)
goal(action="update", goal_id=1, status="in_progress")
goal(action="delete", goal_id=1)
goal(action="add_milestone", goal_id=1, milestone_title="...", weight=2)
goal(action="complete_milestone", milestone_id=1)
goal(action="delete_milestone", milestone_id=1)
goal(action="progress", goal_id=1)
index — Code Indexing
index(action="project") # Full project index (auto-enqueues as background task)
index(action="project", skip_embed=true) # Fast re-index without embeddings
index(action="file", path="src/main.rs")
index(action="status") # Show index statistics
launch — Context-Aware Team Launcher
launch(team="expert-review-team") # Parse agent file, enrich with project context
launch(team="expert-review-team", members="nadia,jiro") # Filter to specific members
launch(team="qa-hardening-team", scope="src/tools/") # Scope code context to a path
launch(team="refactor-team", context_budget=8000) # Custom context budget (default: 4000)
Returns LaunchData with pre-assembled agent specs (name, role, model, prompt, task_subject, task_description), shared project context, and suggested team ID. Does not spawn agents -- Claude orchestrates with TeamCreate/TaskCreate/Task.
CLI-Only Actions
The following actions are available via mira tool <name> '<json>' but not exposed as MCP tools:
| Tool | Action | Purpose |
|---|---|---|
project | set | Change active project without full init |
memory | export_claude_local | Export memories to CLAUDE.local.md |
code | dependencies | Module dependency graph |
code | patterns | Architectural pattern detection |
code | tech_debt | Per-module tech debt scores |
index | compact | VACUUM vec tables |
index | summarize | Generate module summaries |
index | health | Full code health scan |
session | list_sessions | List recent sessions |
session | get_history | View session tool history |
session | usage_summary | LLM usage totals |
session | usage_stats | LLM usage by dimension |
session | usage_list | Recent LLM usage records |
session | tasks_list | List background tasks |
session | tasks_get | Get background task status |
session | tasks_cancel | Cancel a background task |
session | storage_status | Database size and retention |
session | cleanup | Run data cleanup |
documentation | (all actions) | Documentation gap management |
team | (all actions) | Agent Teams intelligence |
Source
git clone https://github.com/ConaryLabs/Mira/blob/main/.claude/skills/tools-reference/SKILL.mdView on GitHub Overview
Provides a consolidated reference for all Mira MCP tool signatures, parameters, and workflows in Claude Code. Documents eight core tools—project, code, diff, session, insights, goal, index, launch—and CLI-only actions for extended automation.
How This Skill Works
Tools are invoked by calling a tool name with an action and keyword parameters, for example code action equals search, query equals authentication, limit equals 10. The reference lists each tool signature and the expected parameters to enable precise automation and repeatable results.
When to Use It
- Initialize or retrieve a project session with project start or get actions
- Perform code intelligence tasks with code actions such as search, symbols, callers, and callees
- Run semantic diffs using diff variants such as diff and diff from_ref to_ref
- Manage ongoing work with session and goal tools including recap and progress
- Index code, manage teams with launch, or use CLI-only actions for extra tasks
Quick Start
- Step 1: Pick a tool and action from the Tools reference
- Step 2: Build a minimal payload using the tool name and parameter names
- Step 3: Run in Claude Code or via CLI with the appropriate payload
Best Practices
- Match tool and action to the task before payloads
- Provide required parameters and sensible defaults like limit for code search
- Keep project and session context consistent across steps
- Validate outputs before moving to the next tool step
- Use CLI-only actions for ancillary automation when appropriate
Example Use Cases
- project(action=start, project_path=/home/alice/proj, name=MyProj)
- code(action=search, query=authentication middleware, limit=10)
- diff(from_ref=main, to_ref=feature/x)
- session(action=current_session)
- insights(action=insights, insight_source=pondering, min_confidence=0.5)