Skip to content

Instantly share code, notes, and snippets.

@johnlindquist
Last active December 7, 2025 05:39
Show Gist options
  • Select an option

  • Save johnlindquist/89df6ea9acec3b2889fda1fdeb3bd9c9 to your computer and use it in GitHub Desktop.

Select an option

Save johnlindquist/89df6ea9acec3b2889fda1fdeb3bd9c9 to your computer and use it in GitHub Desktop.
Code-Mode (cm) Tools Reference - 198 tools across 38 categories

Code-Mode (cm) Tools Reference

Total: 211 tools across 39 categories

Meta-Tools (4 tools)

These are the primary tools for interacting with cm:

Tool Purpose
mcp__cm__list_tools Discover tools by category
mcp__cm__get_tool_schema Get parameters for a specific tool
mcp__cm__call_tool Execute a single tool by name
mcp__cm__execute Run code that chains multiple tools

article (3 tools)

Tool Description
article_generate Generate a technical article
article_verify Verify article accuracy
article_revise Revise article with feedback

beads (13 tools)

Tool Description
beads_ready Get ready work - issues with no open blockers
beads_add Create a new issue
beads_update Update an existing issue
beads_close Close an issue
beads_list List issues with filters
beads_show Get full details for a specific issue
beads_dep_add Add a dependency between issues
beads_sync Force sync issues with git remote
beads_status Check beads availability and get system info
beads_batch_add Create multiple issues in a single call. More efficient than calling beads_add multiple times.
beads_batch_update Update multiple issues in a single call. More efficient than calling beads_update multiple times.
beads_batch_close Close multiple issues in a single call. More efficient than calling beads_close multiple times.
beads_batch_dep_add Add multiple dependencies in a single call. More efficient than calling beads_dep_add multiple times.

brainstorm (3 tools)

Tool Description
brainstorm_generate Generate ideas with a brainstorming technique
brainstorm_quick Quick brainstorm
brainstorm_expand Expand on an idea

bundle (3 tools)

Tool Description
bundle_claude_md Bundle CLAUDE.md and imports
bundle_gist Create gist from CLAUDE.md bundle
bundle_imports List all imports in CLAUDE.md

changelog (5 tools)

Tool Description
changelog_generate Generate changelog from git commits using conventional commit parsing
changelog_release Create a GitHub release with generated changelog
changelog_breaking Identify breaking changes in commits
changelog_stats Get commit statistics by type
changelog_validate Validate commit messages follow conventional commits

chrome (26 tools)

Tool Description
chrome_list_pages List open browser pages
chrome_navigate Navigate to URL
chrome_screenshot Take a screenshot
chrome_click Click an element
chrome_fill Fill an input
chrome_new_page Open a new browser tab/page
chrome_close_page Close a browser page
chrome_evaluate Execute JavaScript in page context
chrome_console_messages List console messages (logs, errors, warnings)
chrome_network_requests List network requests made by the page
chrome_resize Resize the page viewport
chrome_emulate Emulate a device (iphone, ipad, desktop, laptop)
chrome_hover Hover over an element
chrome_drag Drag an element to another position
chrome_press_key Simulate a keyboard key press
chrome_fill_form Fill multiple form fields at once
chrome_handle_dialog Accept or dismiss JavaScript dialogs (alert, confirm, prompt)
chrome_upload_file Upload a file to a file input element
chrome_select_page Switch focus to a specific page by ID
chrome_wait_for Wait for a condition (selector, navigation, network idle)
chrome_snapshot Capture the current DOM structure (HTML)
chrome_get_console_message Get details for a specific console message
chrome_get_network_request Get detailed info about a specific network request
chrome_performance_start Start recording a performance trace
chrome_performance_stop Stop recording and return performance trace
chrome_performance_analyze Analyze performance metrics and provide insights

council (4 tools)

Tool Description
council_ask Ask multiple AI agents the same question in parallel
council_compare Compare responses from multiple AI agents
council_debate Have AI agents debate a topic
council_consensus Find consensus among AI agents

db (6 tools)

Tool Description
db_query Natural language to SQL query execution
db_schema Get database schema information
db_explain Analyze query performance with EXPLAIN
db_migrate Generate migration script
db_tables List all tables in the database
db_status Check database connection status

debug (4 tools)

Tool Description
debug_and_fix Complete debugging workflow: Investigate → Understand → Reason → Fix. Searches codebase AND GitHub issues, applies multi-framework reasoning, generates specific fix recommendations.
quick_debug Fast debugging for simple issues. Skips deep reasoning, focuses on investigation + fix.
debug_with_context Debug with specific file context. Use when you already know which files are relevant.
diagnose Comprehensive diagnosis: parallel codebase investigation + GitHub issues + multi-framework reasoning. For complex issues requiring multiple perspectives.

deepwiki (3 tools)

Tool Description
deepwiki_structure Read wiki structure of a GitHub repository
deepwiki_contents Read wiki contents of a GitHub repository
deepwiki_ask Ask a question about a GitHub repository

deps (6 tools)

Tool Description
deps_audit Audit dependencies for security vulnerabilities
deps_outdated List outdated dependencies with upgrade paths
deps_upgrade Upgrade dependencies intelligently
deps_why Explain why a package is installed (dependency tree)
deps_analyze Analyze dependency tree and find duplicates
deps_unused Find unused dependencies

design (4 tools)

Tool Description
design_init Initialize a design system
design_status Get design system status
design_colors Define colors in design system
design_output Generate design system output

diff-preview (4 tools)

Tool Description
diff_preview Preview changes across multiple files
diff_explain Explain what changes do in plain English using AI
diff_impact Analyze blast radius and risk of changes
diff_compare Compare two branches or refs

figma (6 tools)

Tool Description
figma_file_info Get Figma file information
figma_tokens Extract design tokens (colors, typography, spacing)
figma_components List components in a Figma file
figma_inspect Inspect a specific node's properties
figma_generate_component Generate React component from Figma node
figma_export Export assets from Figma

gemini (9 tools)

Tool Description
gemini_research Deep research on a topic. Frames research objectives, provides critical analysis, identifies gaps, and delivers actionable insights—not just search results.
gemini_summarize Summarize a file or content using Gemini Pro
gemini_analyze_code Analyze code using Gemini Pro
gemini_ask Ask a direct question to Gemini Pro
gemini_web_search Intelligent web search that synthesizes results into answers. Supports different intents: factual, comparison, how-to, current-events, analysis.
gemini_think Think through a complex problem step by step
gemini_extract Extract specific information from content
gemini_get_news Get the latest news on a topic
gemini_lookup Quick lookup with accuracy focus. Supports types: definition (clear explanations), fact-check (verify claims), reference (key facts/figures), status (current state).

gemini-image (3 tools)

Tool Description
gemini_image_analyze Analyze an image with Gemini
gemini_image_extract_text Extract text from an image (OCR)
gemini_image_ask Ask a question about an image

github (5 tools)

Tool Description
github_list_issues List GitHub issues
github_get_issue Get a specific GitHub issue
github_create_issue Create a GitHub issue
github_close_issue Close a GitHub issue
github_add_comment Add a comment to a GitHub issue

investigate (7 tools)

Tool Description
investigate Deep investigation of an issue - searches codebase for keywords, analyzes relevant code, and builds understanding before fixing
investigate_quick Quick investigation - faster but less thorough analysis
investigate_trace Trace code execution path from an entry point to understand flow
investigate_hypothesis Generate and evaluate hypotheses about what could be causing an issue
investigate_deep Deep investigation with maximum thoroughness - analyzes more files and generates comprehensive hypothesis
investigate_with_issues Investigate problem in codebase AND search related GitHub issues. Auto-detects library references (React, Next.js, etc.) and searches their repos for similar issues.
search_external_issues Search GitHub issues for libraries/tools mentioned in the query. Auto-detects repos from keywords like 'React', 'Next.js', 'Prisma' etc.

lessons (3 tools)

Tool Description
lessons_capture Capture lessons to CLAUDE.md
lessons_read Read CLAUDE.md contents
lessons_audit Audit lessons for conflicts

linear (7 tools)

Tool Description
linear_my_issues List issues assigned to current user
linear_issue_detail Get detailed issue information
linear_create_issue Create a new Linear issue
linear_update_issue Update an existing issue
linear_search Search Linear issues
linear_teams List Linear teams
linear_start_work Start work on an issue (ticket-to-PR workflow)

long-agent (3 tools)

Tool Description
long_agent_init Initialize project for long-agent workflow
long_agent_bearings Get bearings for session handoff
long_agent_progress Update session progress

mcp-spy (3 tools)

Tool Description
mcp_spy_traffic Get MCP traffic
mcp_spy_latency Get latency statistics
mcp_spy_failed Find failed requests

memory (7 tools)

Tool Description
memory_write Write a note to persistent memory storage
memory_read Read a note by its permalink
memory_search Search memories using semantic search
memory_list Get recent activity across the knowledge base
memory_build_context Build context for a topic
memory_sync Sync the memory database
memory_status Get memory database status

perf (6 tools)

Tool Description
perf_benchmark Benchmark and compare implementations
perf_analyze Analyze code for performance issues using AI
perf_lighthouse Run Lighthouse audit on a URL
perf_bundle_size Measure bundle size of build output
perf_compare Compare performance before/after changes
perf_hotspots Find performance hotspots in codebase

pipeline (3 tools)

Tool Description
pipeline_research_summarize Research and summarize a topic
pipeline_multi_agent Multi-agent analysis pipeline
pipeline_code_review Code review pipeline

promptfoo (2 tools)

Tool Description
promptfoo_init Initialize a promptfoo evaluation
promptfoo_run Run a promptfoo evaluation

refactor (5 tools)

Tool Description
refactor_js_to_ts Migrate JavaScript files to TypeScript with type annotations
refactor_class_to_hooks Convert React class components to functional components with hooks
refactor_modernize Modernize code to use latest language features
refactor_rename Batch rename/refactor across codebase
refactor_analyze Analyze code for refactoring opportunities

repo (4 tools)

Tool Description
repo_pack Pack repository for LLM consumption
repo_codemap Generate code map (signatures only)
repo_structure Get repository structure
repo_smart_pack Smart pack with budget

research (6 tools)

Tool Description
research_deep Comprehensive multi-angle research with AI-generated search strategies, parallel exploration, critical synthesis, and optional gap follow-up. Returns executive summary, key findings, critical analysis, and actionable insights.
research_quick Fast but intelligent research. Provides direct answers with key facts, caveats, and actionable insights. Good for straightforward questions.
research_compare Rigorous comparison with structured analysis. Includes quick summary, detailed comparison, strengths/weaknesses matrix, critical analysis, and clear recommendations.
research_with_issues Research topic with GitHub issues. Auto-detects library references (React, Next.js, Prisma, etc.) and searches their repos for related issues, bugs, and discussions.
research_github_issues Search GitHub issues across detected library references. Auto-detects repos from keywords.
research_library Investigate a specific library - combines web research with GitHub issues and discussions. Knows 70+ popular repos (React, Next.js, Bun, Prisma, etc.)

review (3 tools)

Tool Description
review_deep Deep code review with multiple personas
review_quick Quick code review
review_focused Focused review with specific persona

sentry (4 tools)

Tool Description
sentry_issues Get recent issues from Sentry
sentry_issue_detail Get detailed information about a Sentry issue with stack trace
sentry_diagnose AI-powered diagnosis and fix suggestions for a Sentry issue
sentry_stats Get issue statistics for a project

spider (3 tools)

Tool Description
spider_crawl Crawl codebase with AI agents
spider_quick_scan Quick codebase scan
spider_security_scan Security-focused codebase scan

stuck (3 tools)

Tool Description
stuck_quick Quick help when stuck
stuck_code Help with code-specific problems
stuck_library Help with library/framework problems

testgen (5 tools)

Tool Description
testgen_generate Generate tests for a file using AI
testgen_coverage Analyze code coverage and identify untested paths
testgen_mutate Run mutation testing to validate test quality
testgen_tdd_loop TDD loop - run tests, fix failures, repeat until green
testgen_suggest Suggest additional tests for uncovered code paths

think (4 tools)

Tool Description
think_deep Deep multi-framework reasoning
think_quick Quick thinking on a question
think_challenge Challenge an idea
think_evaluate_options Evaluate multiple options

tmux (5 tools)

Tool Description
tmux_create_session Create a tmux session
tmux_list_sessions List tmux sessions
tmux_send_keys Send keys to a tmux session
tmux_capture_output Capture output from a tmux session
tmux_kill_session Kill a tmux session

wezterm (3 tools)

Tool Description
wezterm_config Generate WezTerm configuration
wezterm_snippet Get WezTerm config snippet
wezterm_schemes List color schemes

workflow (5 tools)

Tool Description
workflow_get_latest_run Get the latest GitHub workflow run
workflow_list_runs List GitHub workflow runs
workflow_quick_status Quick CI status check
workflow_analyze_failure Analyze a failed workflow run
workflow_rerun Rerun a workflow

worktree (13 tools)

Tool Description
worktree_list List all git worktrees for the current repository
worktree_create Create a new worktree for a branch
worktree_setup Create a worktree and run setup scripts from worktrees.json
worktree_remove Remove a worktree by path or branch name
worktree_merge Merge changes from a branch worktree into current branch, then remove it
worktree_pr Create a worktree from a GitHub PR or GitLab MR number
worktree_open Open an existing worktree in the editor
worktree_extract Extract the current or specified branch as a new worktree
worktree_purge Remove all worktrees except the main branch
worktree_help Get help for worktree tools
worktree_batch_create Create multiple worktrees in a single call. More efficient than calling worktree_create multiple times.
worktree_batch_remove Remove multiple worktrees in a single call. More efficient than calling worktree_remove multiple times.
worktree_batch_pr Create worktrees from multiple GitHub PRs in a single call. More efficient than calling worktree_pr multiple times.

Generated: 2025-12-07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment