agent-teams-playbook
Cross-runtime playbook for multi-agent collaboration, agent teams, swarm orchestration, parallel task distribution, capability…
Runs the installed local Semgrep CLI through a bounded JSON wrapper with two bundled non-secret rules. Requires an explicit authorized workspaceRoot and target. No remote rules, uploads, installs, source excerpts or automatic fixes.
$ npx -y skills add KimYx0207/Kim_Service --skill semgrep-skill --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/semgrep-skillContext preview
The summary Claude sees to decide when to auto-load this skill.
Runs the installed local Semgrep CLI through a bounded JSON wrapper with two bundled non-secret rules. Requires an explicit authorized workspaceRoot and target. No remote rules, uploads, installs, source excerpts or automatic fixes.
name: semgrep-skill description: "Runs the installed local Semgrep CLI through a bounded JSON wrapper with two bundled non-secret rules. Requires an explicit authorized workspaceRoot and target. No remote rules, uploads, installs, source excerpts or automatic fixes." version: "1.1.0" context: fork
Use only `<skill-dir>/scripts/scan.py`, where `<skill-dir>` contains this file. The package `capability.json` defines the input, result and optional invocation. Read it after the caller verifies the discovered package hash. The generated index selects the package; it does not contain or grant the invocation.
directory `target` inside it. Never default to the current project or drive.
`python-subprocess-shell-true` and `javascript-eval` into temporary configuration before scanning, and records both hashes. The bundled legacy secret-pattern rule is not executed by this route; credential checks are outside this capability.
`shell:false`. Never execute files from the scan target as programs.
isolated settings/log/cache paths, and a minimal subprocess environment. Caller tokens, proxies and custom Semgrep configuration are not inherited. Windows APPDATA and a computed installed Python user base/site may be retained solely to locate the existing host runtime; caller PYTHONPATH is not inherited.
installer installs the Skill projection only and requires separate write approval.
rule messages. Raw source, metavariables and raw CLI diagnostics are withheld.
From any working directory, pass one UTF-8 JSON object over stdin:
{"schemaVersion":1,"workspaceRoot":"<authorized-absolute-local-root>","target":"<directory-within-root>"}python "<skill-dir>/scripts/scan.py" --input-json -
Equivalent named arguments are `--workspace-root <absolute-root> --target <directory>`, optionally `--rules rules/local-security.yml`. There are no extra Semgrep flags, executable overrides or JSON-file paths. Do not separately run a bare `semgrep --version`: the wrapper performs its own isolated runtime check.
Return the wrapper result, not a promise to scan later. `completed` means every selected file was confirmed scanned, not that findings were empty or security was certified. `completed` exits 0 even with findings. `partial`, `invalid_input`, `unavailable` and `failed` exit 2 and keep `completed:false`. An unavailable tool must stay unavailable; no installation is attempted. Missing files or errors must never be labeled clean. Remediation remains advisory text.
Only visible `.py`, `.js`, `.jsx`, `.ts`, `.tsx` files are selected. Hidden directories/files, node_modules, __pycache__, venv and vendor are excluded. Links/reparse points are rejected. Narrow targets to at most 512 eligible files, each at most 1 MiB; do not select a target containing the host temporary directory. Each subprocess has a 60-second limit; output is checked while running against an 8 MiB limit per stream. These are safety bounds in `scripts/scan.py`, not caller-adjustable business parameters.
`networkUsed:false` describes the enforced local configuration, metrics/version opt-outs and environment isolation; it is not OS network isolation or a packet capture certificate. `filesModified:false` means no source edits: temporary configuration, settings and logs are outside the target and cleaned afterward. Use a trusted host installation and stable filesystem; this is not a sandbox for malicious binaries or concurrent path replacement. Findings cover two patterns only; omitted file types and excluded directories were not audited.
`install.ps1`, `install.sh` and `scripts/install.py` remain dry-run first, require explicit project/user scope, and require `--apply` to write. They project this file, `capability.json`, `scripts/scan.py` and the bundled rules with hash receipts and rollback. They never install Semgrep or overwrite legacy code-security. See README for preview/apply/rollback commands; do not treat scan permission as permission to install or change source.
这是老金(KimYx0207)维护的独立专业能力依赖仓库。 这里收录可发现、可单独使用、可验证的 Hook、Skill、Tool 与专业 Agent,并为未来合格的 App 保留同一包规范。每个能力包解决一个明确问题;Kim Service 不承担跨组件 Router、任务状态机或最终验收大脑。
Cross-runtime playbook for multi-agent collaboration, agent teams, swarm orchestration, parallel task distribution, capability…
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a…
当用户要写出高质量 Goal Prompt,把模糊、战略性、多步骤、证据不足、持续/自动化或容易跑偏的请求整理成可执行、可验证、可暂停的目标契约时使用。适用于写 goal、优化任务提示词、明确 done/success criteria、deep…
Use when the user asks for KIM, Kim, laojin, 老金, 问问老金, 老金怎么看, asks for decision analysis, structured reasoning,…
为长周期、跨会话的 Agent 工作建立平台中立的三层记忆。适用于加载项目记忆、记录可复用事实与每日进展、维护隐性知识、迁移旧版 .claude/memory、检查记忆状态或清理过时条目;Claude Code 与 Codex 可通过各自 Hooks…