@yottameta/yotta-dev-mcp-plugin 0.0.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "yotta-dev-mcp",
3
+ "interface": {
4
+ "displayName": "元开 yotta-dev-mcp (YottaMeta)"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "yotta-dev-mcp",
9
+ "source": ".",
10
+ "policy": {
11
+ "installation": "AVAILABLE",
12
+ "authentication": "ON_INSTALL"
13
+ },
14
+ "category": "Developer Tools",
15
+ "version": "0.1.1",
16
+ "description": "YuanKai (yotta-dev-mcp) - deterministic local development tools exposed over stdio MCP: repo_map, find_code, compress_output, review_code, review_diff, mcp_doctor, scan_secrets, scan_dependencies, check_publish_readiness, run_checks, scaffold_skill and workflow_state. Python 3.8+ standard library, offline by default; writes and command execution require explicit flags.",
17
+ "interface": {
18
+ "displayName": "元开 yotta-dev-mcp",
19
+ "shortDescription": "YuanKai (yotta-dev-mcp) - deterministic local development tools exposed over stdio MCP: repo_map, find_code, compress_ou",
20
+ "developerName": "YottaMeta",
21
+ "category": "Developer Tools"
22
+ }
23
+ }
24
+ ]
25
+ }
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "yotta-dev-mcp",
3
+ "interface": {
4
+ "displayName": "元开 yotta-dev-mcp (YottaMeta)"
5
+ },
6
+ "plugins": [
7
+ {
8
+ "name": "yotta-dev-mcp",
9
+ "source": ".",
10
+ "policy": {
11
+ "installation": "AVAILABLE",
12
+ "authentication": "ON_INSTALL"
13
+ },
14
+ "category": "Developer Tools",
15
+ "version": "0.1.1",
16
+ "description": "YuanKai (yotta-dev-mcp) - deterministic local development tools exposed over stdio MCP: repo_map, find_code, compress_output, review_code, review_diff, mcp_doctor, scan_secrets, scan_dependencies, check_publish_readiness, run_checks, scaffold_skill and workflow_state. Python 3.8+ standard library, offline by default; writes and command execution require explicit flags.",
17
+ "interface": {
18
+ "displayName": "元开 yotta-dev-mcp",
19
+ "shortDescription": "YuanKai (yotta-dev-mcp) - deterministic local development tools exposed over stdio MCP: repo_map, find_code, compress_ou",
20
+ "developerName": "YottaMeta",
21
+ "category": "Developer Tools"
22
+ }
23
+ }
24
+ ]
25
+ }
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 YottaMeta
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,107 @@
1
+ # 元开 yotta-dev-mcp — Agent Plugin
2
+
3
+ YuanKai (yotta-dev-mcp): deterministic local development tools over stdio MCP, covering code map, review, secret/dependency scan, release checks, whitelisted checks, scaffold and workflow state.
4
+
5
+ [English](#english) | [中文](#中文)
6
+
7
+ ## English
8
+
9
+ This repository is a standalone [Agent Plugins 1.0](https://agent-plugins.org) plugin. It packages one skill and one MCP server in the standard layout (`plugin.json`, `skills/`, `mcp.json`).
10
+
11
+ ### Install
12
+
13
+ #### Codex (verified)
14
+
15
+ ```bash
16
+ codex plugin marketplace add YottaMeta/yotta-dev-mcp-plugin
17
+ codex plugin add yotta-dev-mcp@yotta-dev-mcp
18
+ ```
19
+
20
+ #### Other compatible clients
21
+
22
+ Agent Plugins defines the package format, not a universal installer command. Use your client’s official setup instructions:
23
+
24
+ | Client | Setup instructions |
25
+ | --- | --- |
26
+ | VS Code | [Agent Plugins in VS Code](https://code.visualstudio.com/docs/agent-customization/agent-plugins) |
27
+ | Cursor | [Cursor plugins](https://cursor.com/docs/plugins) |
28
+ | GitHub Copilot | [About plugins](https://docs.github.com/en/copilot/concepts/agents/about-plugins) |
29
+ | ChatGPT & Codex | [OpenAI plugins](https://developers.openai.com/plugins) |
30
+ | Kiro | [Powers](https://kiro.dev/docs/powers/) |
31
+ | Hermes Agent | [Portable Agent Plugins v1 packages](https://hermes-agent.nousresearch.com/docs/developer-guide/plugins#portable-agent-plugins-v1-packages) |
32
+ | OpenClaw | [Plugin bundles](https://docs.openclaw.ai/plugins/bundles) |
33
+ | Grok Bot | [Skills, routines, and automations](https://docs.x.ai/grok-bot/skills-routines-and-automations) |
34
+ | NanoClaw | [Templates](https://github.com/nanocoai/nanoclaw/blob/main/docs/templates.md) |
35
+
36
+ Codex is verified by YottaMeta. Other clients are linked from the official Agent Plugins compatibility page and are not yet verified here.
37
+
38
+ ### What you get
39
+
40
+ - **Skill** — `yotta-dev-mcp` skill instructions (`skills/yotta-dev-mcp/SKILL.md`)
41
+ - **MCP server** — started automatically by the client (stdio; requires Python 3.8+)
42
+
43
+ ### Boundaries
44
+
45
+ - The MCP server runs fully local over stdio; no telemetry, no remote calls from the plugin itself.
46
+ - If the required runtime is missing, the MCP component may fail to start; the skill payload remains available.
47
+ - The skill payload is copied from the source repository release; for full documentation see [YottaMeta/yotta-dev-mcp](https://github.com/YottaMeta/yotta-dev-mcp).
48
+
49
+ ### Source
50
+
51
+ Upstream skill repository: [YottaMeta/yotta-dev-mcp](https://github.com/YottaMeta/yotta-dev-mcp)
52
+ Plugin repository: [YottaMeta/yotta-dev-mcp-plugin](https://github.com/YottaMeta/yotta-dev-mcp-plugin)
53
+
54
+ ### License
55
+
56
+ MIT — see `LICENSE` and the license inside the skill payload.
57
+
58
+ ## 中文
59
+
60
+ 本仓库是一个独立的 [Agent Plugins 1.0](https://agent-plugins.org) 插件,按标准目录结构打包一项技能和一个 MCP server(`plugin.json`、`skills/`、`mcp.json`)。
61
+
62
+ ### 安装
63
+
64
+ #### Codex(已实测)
65
+
66
+ ```bash
67
+ codex plugin marketplace add YottaMeta/yotta-dev-mcp-plugin
68
+ codex plugin add yotta-dev-mcp@yotta-dev-mcp
69
+ ```
70
+
71
+ #### 其他兼容客户端
72
+
73
+ Agent Plugins 只定义包格式,不定义统一安装命令。请按你所用客户端的官方说明接入:
74
+
75
+ | 客户端 | 官方说明 |
76
+ | --- | --- |
77
+ | VS Code | [Agent Plugins in VS Code](https://code.visualstudio.com/docs/agent-customization/agent-plugins) |
78
+ | Cursor | [Cursor plugins](https://cursor.com/docs/plugins) |
79
+ | GitHub Copilot | [About plugins](https://docs.github.com/en/copilot/concepts/agents/about-plugins) |
80
+ | ChatGPT & Codex | [OpenAI plugins](https://developers.openai.com/plugins) |
81
+ | Kiro | [Powers](https://kiro.dev/docs/powers/) |
82
+ | Hermes Agent | [Portable Agent Plugins v1 packages](https://hermes-agent.nousresearch.com/docs/developer-guide/plugins#portable-agent-plugins-v1-packages) |
83
+ | OpenClaw | [Plugin bundles](https://docs.openclaw.ai/plugins/bundles) |
84
+ | Grok Bot | [Skills, routines, and automations](https://docs.x.ai/grok-bot/skills-routines-and-automations) |
85
+ | NanoClaw | [Templates](https://github.com/nanocoai/nanoclaw/blob/main/docs/templates.md) |
86
+
87
+ Codex 已由 YottaMeta 实测;其他客户端仅链接官方说明,尚未在本仓库逐项实测。
88
+
89
+ ### 内容
90
+
91
+ - **技能** — `yotta-dev-mcp` 技能指令(`skills/yotta-dev-mcp/SKILL.md`)
92
+ - **MCP server** — 由客户端自动启动(stdio;需要 Python 3.8+)
93
+
94
+ ### 边界
95
+
96
+ - MCP server 完全本地 stdio 运行;插件本身不做遥测、不发起远程调用。
97
+ - 若运行时缺失,MCP 组件可能启动失败;技能内容仍可使用。
98
+ - 技能内容来自源仓库发布版;完整文档见 [YottaMeta/yotta-dev-mcp](https://github.com/YottaMeta/yotta-dev-mcp)。
99
+
100
+ ### 来源
101
+
102
+ 上游技能仓库:[YottaMeta/yotta-dev-mcp](https://github.com/YottaMeta/yotta-dev-mcp)
103
+ 插件仓库:[YottaMeta/yotta-dev-mcp-plugin](https://github.com/YottaMeta/yotta-dev-mcp-plugin)
104
+
105
+ ### 许可证
106
+
107
+ MIT — 见 `LICENSE` 与技能目录内许可证。
package/mcp.json ADDED
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/mcp.schema.json",
3
+ "mcpServers": {
4
+ "yotta-dev-mcp": {
5
+ "type": "stdio",
6
+ "command": "python",
7
+ "args": [
8
+ "${PLUGIN_ROOT}/skills/yotta-dev-mcp/scripts/yotta_dev_mcp.py"
9
+ ]
10
+ }
11
+ }
12
+ }
package/package.json CHANGED
@@ -1,19 +1,22 @@
1
1
  {
2
2
  "name": "@yottameta/yotta-dev-mcp-plugin",
3
- "version": "0.0.0",
4
- "description": "Placeholder package for Trusted Publisher setup.",
5
- "main": "index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
8
- },
9
- "keywords": [],
10
- "author": "",
3
+ "version": "0.1.1",
4
+ "description": "YuanKai (yotta-dev-mcp) Agent Plugin: deterministic local development tools over stdio MCP.",
11
5
  "license": "MIT",
12
- "type": "commonjs",
13
6
  "repository": {
7
+ "type": "git",
14
8
  "url": "git+https://github.com/YottaMeta/yotta-dev-mcp-plugin.git"
15
9
  },
16
10
  "publishConfig": {
17
11
  "access": "public"
18
- }
12
+ },
13
+ "files": [
14
+ ".agents",
15
+ ".claude-plugin",
16
+ "LICENSE",
17
+ "README.md",
18
+ "mcp.json",
19
+ "plugin.json",
20
+ "skills"
21
+ ]
19
22
  }
package/plugin.json ADDED
@@ -0,0 +1,20 @@
1
+ {
2
+ "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
+ "name": "yotta-dev-mcp",
4
+ "version": "0.1.1",
5
+ "description": "YuanKai (yotta-dev-mcp) - deterministic local development tools exposed over stdio MCP: repo_map, find_code, compress_output, review_code, review_diff, mcp_doctor, scan_secrets, scan_dependencies, check_publish_readiness, run_checks, scaffold_skill and workflow_state. Python 3.8+ standard library, offline by default; writes and command execution require explicit flags.",
6
+ "author": {
7
+ "name": "YottaMeta",
8
+ "url": "https://github.com/YottaMeta"
9
+ },
10
+ "homepage": "https://github.com/YottaMeta/yotta-dev-mcp-plugin",
11
+ "repository": "https://github.com/YottaMeta/yotta-dev-mcp-plugin",
12
+ "license": "MIT",
13
+ "keywords": [
14
+ "yottameta",
15
+ "agent-plugins",
16
+ "agent-skills",
17
+ "mcp",
18
+ "yotta-dev-mcp"
19
+ ]
20
+ }
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 YottaMeta
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,7 @@
1
+ # NOTICE - YottaMeta 品牌声明
2
+
3
+ 「YottaMeta」「元阁」「yotta-dev-mcp」以及本家族各技能名称(yotta-* 前缀)
4
+ 是 YottaMeta 的品牌与标识。
5
+
6
+ 本软件以 MIT 许可证开源。派生作品不得继续使用 YottaMeta 或本家族名称作为名称,
7
+ 不得暗示派生作品由 YottaMeta 官方维护或认可。
@@ -0,0 +1,67 @@
1
+ ---
2
+ name: yotta-dev-mcp
3
+ description: 元开(yotta-dev-mcp)—— 本地、确定性的开发工具 MCP,把只读默认的开发能力暴露为 stdio MCP server:repo_map / find_code / compress_output / review_code / review_diff / mcp_doctor / scan_secrets / scan_dependencies / check_publish_readiness / run_checks / scaffold_skill / workflow_state。触发:让 AI 在陌生项目里先做结构盘点、定位代码、评审改动、扫描密钥/依赖、检查发布就绪、运行白名单检查、生成脚手架或读取 .workflow 状态时;或用户说 元开 / 开发能力 MCP / yotta-dev-mcp / 代码库地图 / 代码评审 MCP 等。边界:Python 3.8+ 标准库、离线默认;除 run_checks(显式 allow_execute)与 scaffold_skill / workflow_state 的显式 apply 外均为只读;不上传源码、不自动修改、不提交、不联网查询包是否存在。
4
+ version: 0.1.1
5
+ license: MIT
6
+ ---
7
+
8
+ # 元开(yotta-dev-mcp)
9
+
10
+ 元开(YuanKai)把一组本地、确定性的开发工具做成一个 stdio MCP server。任何支持 MCP 的客户端接上后,
11
+ 都能在真实开发任务里调用这些工具;输出带文件、行号、规则和证据,便于直接进入修复清单。
12
+
13
+ ## 何时使用
14
+
15
+ - 接手陌生项目:先 `repo_map` 看模块、依赖和入口,再 `find_code` 定位。
16
+ - 评审改动:`review_diff` 只看新增行;`review_code` 对文件或仓库做规则检查。
17
+ - 长日志 / 长命令输出:`compress_output` 保错误、错误栈和首尾上下文。
18
+ - 本机排查:`mcp_doctor` 只读检查技能目录和 MCP JSON 配置。
19
+
20
+ ## MCP 接入
21
+
22
+ 启动命令:
23
+
24
+ ```bash
25
+ npx -y @yottameta/yotta-dev-mcp
26
+ ```
27
+
28
+ 或直接用本地脚本:
29
+
30
+ ```bash
31
+ python scripts/yotta_dev_mcp.py
32
+ ```
33
+
34
+ 自动接入说明:AI 首次协助配置时,必须先展示目标配置文件、完整配置片段和影响,
35
+ 并获得用户明确同意后再写入 `mcpServers`。用户拒绝时不要写文件,直接提供上面的启动命令
36
+ 让用户手动接入。
37
+
38
+ ## 工具
39
+
40
+ | 工具 | 用途 | 写入 |
41
+ |---|---|---|
42
+ | `repo_map` | 模块、导入、入口点地图 | 否 |
43
+ | `find_code` | 符号 / 文本定位,结果有上限 | 否 |
44
+ | `compress_output` | 保留错误与首尾的长输出压缩 | 否 |
45
+ | `review_code` | 规则化代码评审,带行号与建议 | 否 |
46
+ | `review_diff` | 只评审 diff 的新增行 | 否 |
47
+ | `mcp_doctor` | 技能版本与 MCP JSON 配置体检 | 否 |
48
+ | `scan_secrets` | 密钥 / 凭据 / 高熵令牌扫描(强制脱敏) | 否 |
49
+ | `scan_dependencies` | 依赖清单、lockfile、来源与 typosquat 启发式检查 | 否 |
50
+ | `check_publish_readiness` | 版本四件、发布文件、仓库与 publishConfig 检查 | 否 |
51
+ | `run_checks` | 白名单测试 / lint / compile 并返回结构化摘要 | 仅显式 allow_execute |
52
+ | `scaffold_skill` | 生成最小技能脚手架,默认 dry-run | 仅显式 apply |
53
+ | `workflow_state` | 读取 `.workflow`,可选显式追加日志 | 仅显式 apply |
54
+
55
+ 详细契约见 `references/tools.md`。
56
+
57
+ ## 边界
58
+
59
+ - `run_checks` 是唯一会执行项目代码的工具,默认关闭,必须显式 `allow_execute=true`;只运行白名单检查。
60
+ - `scaffold_skill` / `workflow_state` 默认只预览,显式 `apply=true` 才写入;写入前做原子替换并保留 `.bak`。
61
+ - 不联网,不查询包是否存在于公共仓库。
62
+ - 不读取或修改 YottaCode 仓库。
63
+ - 结论是确定性静态判断,不替代人工评审与最终决策。
64
+
65
+ ## 当前版本
66
+
67
+ - v0.1.1:品牌显示名统一为「元开」;功能与 12 个工具不变。
@@ -0,0 +1,57 @@
1
+ #!/usr/bin/env node
2
+ /**
3
+ * yotta-dev-mcp launcher.
4
+ *
5
+ * Default: start the stdio MCP server.
6
+ * Install flags: delegate to bin/install.js.
7
+ */
8
+ 'use strict';
9
+ const { spawn, spawnSync } = require('child_process');
10
+ const path = require('path');
11
+
12
+ const PKG_ROOT = path.join(__dirname, '..');
13
+ const SERVER = path.join(PKG_ROOT, 'scripts', 'yotta_dev_mcp.py');
14
+ const INSTALL_FLAGS = ['--agent', '--dir', '--list', '-l', '-g', '--global', '--dry-run', '--yes'];
15
+
16
+ function isInstallRequest(args) {
17
+ return args.some(function (item) {
18
+ if (INSTALL_FLAGS.indexOf(item) !== -1) return true;
19
+ return item.indexOf('--agent=') === 0 || item.indexOf('--dir=') === 0;
20
+ });
21
+ }
22
+
23
+ function findPython() {
24
+ const candidates = [];
25
+ if (process.env.YOTTA_MCP_PYTHON) candidates.push(process.env.YOTTA_MCP_PYTHON);
26
+ candidates.push('python3', 'python', 'py');
27
+ for (let i = 0; i < candidates.length; i++) {
28
+ try {
29
+ const result = spawnSync(candidates[i], ['--version'], { encoding: 'utf8', timeout: 5000 });
30
+ if (result.status === 0) return candidates[i];
31
+ } catch (error) {
32
+ // Try the next candidate.
33
+ }
34
+ }
35
+ return 'python';
36
+ }
37
+
38
+ function main() {
39
+ const args = process.argv.slice(2);
40
+ if (args.indexOf('--version') !== -1 || args.indexOf('-v') !== -1) {
41
+ process.stdout.write(require(path.join(PKG_ROOT, 'package.json')).version + '\n');
42
+ return;
43
+ }
44
+ if (isInstallRequest(args)) {
45
+ require(path.join(__dirname, 'install.js'));
46
+ return;
47
+ }
48
+ const python = findPython();
49
+ const child = spawn(python, [SERVER].concat(args), { stdio: 'inherit' });
50
+ child.on('exit', function (code) { process.exit(code || 0); });
51
+ child.on('error', function (error) {
52
+ process.stderr.write('yotta-dev-mcp: cannot start Python MCP server: ' + error.message + '\n');
53
+ process.exit(1);
54
+ });
55
+ }
56
+
57
+ main();
@@ -0,0 +1,111 @@
1
+ # Tool contracts
2
+
3
+ All tools are local, deterministic and read-only in v0.1.0.
4
+
5
+ ## repo_map
6
+
7
+ Input:
8
+
9
+ - `path` (required): repository or source directory.
10
+ - `max_files` (optional, default 2000): source file limit.
11
+
12
+ Output: `root`, `modules`, `imports`, `entrypoints`, `truncated`.
13
+
14
+ ## find_code
15
+
16
+ Input:
17
+
18
+ - `path` (required): repository, directory or file.
19
+ - `query` (required): symbol or text.
20
+ - `extensions` (optional): file extensions such as `.py`.
21
+ - `max_results` (optional, default 100).
22
+ - `context_lines` (optional, 0-5).
23
+
24
+ Output: `query`, `matches` (`path`, `line`, `kind`, `text`, `context`), `truncated`.
25
+
26
+ ## compress_output
27
+
28
+ Input:
29
+
30
+ - `text` or `file` (one required).
31
+ - `max_chars` (optional, default 4000).
32
+ - `head_lines` / `tail_lines` (optional).
33
+
34
+ Output: text plus `original_lines`, `kept_lines`, `error_lines`, `truncated`.
35
+
36
+ ## review_code
37
+
38
+ Input:
39
+
40
+ - `path` or `text` (one required).
41
+ - `max_findings` (optional, default 200).
42
+
43
+ Rules: bare-except, eval-exec, shell-true, debug-print, todo-comment,
44
+ mutable-default.
45
+
46
+ Each finding contains `path`, `line`, `rule`, `severity`, `evidence`, `suggestion`.
47
+
48
+ ## review_diff
49
+
50
+ Input:
51
+
52
+ - `diff_text` or `path` (one required).
53
+ - `base` (optional git revision when `path` is used).
54
+ - `max_findings` (optional).
55
+
56
+ Only added lines are reviewed. Output: `files`, `findings`, `truncated`.
57
+
58
+ ## mcp_doctor
59
+
60
+ Input:
61
+
62
+ - `skills_dirs` (optional array).
63
+ - `config_paths` (optional array).
64
+
65
+ Output: `skills`, `mcp_configs`, `issues`, `checked_skills`, `checked_configs`.
66
+
67
+ ## scan_secrets
68
+
69
+ Input: `path` or `text`, optional `max_findings`, optional `include_git_history`
70
+ (bounded, default false).
71
+
72
+ Output: `findings` with `path`, `line`, `rule`, `severity`, redacted `evidence`,
73
+ `suggestion`; `truncated`.
74
+
75
+ ## scan_dependencies
76
+
77
+ Input: `path`.
78
+
79
+ Output: `manifests`, `lockfiles`, `issues` (`missing-lockfile`,
80
+ `unpinned-dependency`, `insecure-source`, `local-dependency`,
81
+ `typosquat-suspicion`), and counts. Offline heuristics only.
82
+
83
+ ## check_publish_readiness
84
+
85
+ Input: `path`.
86
+
87
+ Output: `ok`, `files`, `versions` (package / skill / changelog / engine when
88
+ present), `issues`.
89
+
90
+ ## run_checks
91
+
92
+ Input: `kind` (`python-unittest` / `pytest` / `python-compile` / `npm-test` /
93
+ `npm-lint`), `cwd`, optional `timeout`, explicit `allow_execute=true`.
94
+
95
+ Output: `exit_code`, `passed`, bounded `summary`, compressed `output`,
96
+ `timed_out`.
97
+
98
+ ## scaffold_skill
99
+
100
+ Input: `name`, `output_dir`, optional `description`, explicit `apply=true`.
101
+
102
+ Output: `target`, `files`, `applied`. Default is dry-run; existing non-empty
103
+ targets are rejected.
104
+
105
+ ## workflow_state
106
+
107
+ Input: `root`, `action` (`read` / `append-log` / `append-file`), optional
108
+ `date`, `text`, `file`, explicit `apply=true`.
109
+
110
+ Output: `ok`, `files`, `missing`, `excerpts` for read; `target`, `applied`,
111
+ `preview` for writes. Writes are atomic and keep a `.bak` of an existing file.