Get the FREE Ultimate OpenClaw Setup Guide →

tools-reference

npx machina-cli add skill ConaryLabs/Mira/tools-reference --openclaw
Files (1)
SKILL.md
4.3 KB
<!-- .claude/skills/tools-reference/SKILL.md -->

Mira 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:

ToolActionPurpose
projectsetChange active project without full init
memoryexport_claude_localExport memories to CLAUDE.local.md
codedependenciesModule dependency graph
codepatternsArchitectural pattern detection
codetech_debtPer-module tech debt scores
indexcompactVACUUM vec tables
indexsummarizeGenerate module summaries
indexhealthFull code health scan
sessionlist_sessionsList recent sessions
sessionget_historyView session tool history
sessionusage_summaryLLM usage totals
sessionusage_statsLLM usage by dimension
sessionusage_listRecent LLM usage records
sessiontasks_listList background tasks
sessiontasks_getGet background task status
sessiontasks_cancelCancel a background task
sessionstorage_statusDatabase size and retention
sessioncleanupRun 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

  1. Step 1: Pick a tool and action from the Tools reference
  2. Step 2: Build a minimal payload using the tool name and parameter names
  3. 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)

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers