用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/marvinrichter/clarc --skill clarc-mcp-integration命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Interactive installer for clarc — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.
Create zero-dependency, animation-rich HTML presentations from scratch or by converting PowerPoint/PPTX files. Use when the user wants to build a presentation, convert a deck to web, or create slides for a talk/pitch.
Create zero-dependency, animation-rich HTML presentations from scratch or by converting PowerPoint/PPTX files. Use when the user wants to build a presentation, convert a deck to web, or create slides for a talk/pitch.
正在显示 SKILL.md
基于 SOC 职业分类
| name | clarc-mcp-integration |
| description | Patterns for using clarc MCP server in multi-agent workflows, CI pipelines, and external tools |
Use MCP when: another tool or agent is the consumer (structured JSON input/output required) Use CLI commands when: a human is working interactively in a terminal
Both surfaces share the same underlying logic via shared library modules:
scripts/lib/skill-search.js — powers both skill_search MCP tool and /find-skill CLIscripts/lib/project-detect.js — powers both get_project_context MCP tool and session-start.jsget_component_graphReturns the agent→skill dependency graph built from uses_skills frontmatter in agent files.
// Request
{ "name": "get_component_graph", "arguments": { "skill": "go-patterns" } }
// Response
{
"agents": 61,
"skills_referenced": 42,
"skill_to_agents": {
"go-patterns": ["go-reviewer", "go-build-resolver"]
}
}
Use cases:
uses_skills references are not danglingget_health_statusChecks clarc installation integrity. Returns healthy: true/false and an issues array.
// Request
{ "name": "get_health_status", "arguments": {} }
// Response
{
"healthy": true,
"issues": [],
"checks": {
"symlinks": { "agents": "symlink", "skills": "symlink", "hooks": "symlink" },
"hooks": { "claude_hooks_file": "present" },
"index": { "present": true, "age_hours"
CI gate pattern (one-liner):
node mcp-server/index.js <<< '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_health_status","arguments":{}}}' \
| jq -e '.result.content[0].text | fromjson | .healthy'
CI gate script (full — save as scripts/ci/check-clarc-health.js):
#!/usr/bin/env node
// check-clarc-health.js — exits 0 if clarc is healthy, 1 otherwise
// Usage: node scripts/ci/check-clarc-health.js
// Add to CI as a pre-step gate before running agents.
import { spawn } from 'child_process';
import { fileURLToPath } from 'url';
import { dirname, resolve } from 'path';
const __dirname = dirname(fileURLToPath(import.meta.url));
const mcpServer = resolve(__dirname, '../../mcp-server/index.js');
const request = JSON.stringify({
jsonrpc: '2.0', id: 1, method: 'tools/call',
params: { name: 'get_health_status', arguments: {} }
});
const proc = spawn('node', [mcpServer], { stdio: ['pipe', 'pipe', 'inherit'] });
let output = '';
proc.stdout.on('data', chunk => { output += chunk; });
proc.stdin.(request + );
proc..();
proc.(, {
{
parsed = .(output);
status = .(parsed..[].);
(status.) {
.();
process.();
} {
.();
.(, status..());
process.();
}
} (err) {
.(, err.);
process.();
}
});
An orchestrator agent can use get_component_graph to dynamically route work to the right specialist:
1. Detect project type → get_project_context({ cwd })
2. Find relevant agents → get_component_graph({ skill: detected_primary_skill })
3. Invoke matching reviewer agent → agent_describe({ name: reviewer })
4. Run review with full agent instructions
get_health_status runs as a pre-step gatehealthy: false fails the build (exit code 1)stale: falseSee docs/mcp-guide.md for full setup instructions, config examples, and all tool reference documentation.