← All skills
agent-return-setup
92 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By kochetkov-ma/claude-brewcode (GitHub) · coding · 39 stars · scanned at commit 5da825f
Installs, configures or removes the agent-return hooks (size budget on every subagent's final return message). Triggers: agent-return, subagent return budget, return too large, бюджет ответа агента, размер отчёта саб-агента.
Works with any agent that supports SKILL.md skills.
Partially scanned — some files couldn't be read; we'll retry on the next scan
What this skill can do
Runs commands on your computer
This is disclosed by the author in the skill's SKILL.md or README. Expected for a coding skill.
Found in 28 places.
Show 17 more
- brewtools/skills/agent-return-setup/SKILL.md, line 461
BT_ROOT="${CLAUDE_PLUGIN_ROOT}" - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 3
import { spawnSync } from 'node:child_process'; - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 43
const producer = spawnSync('bash', ['-c', configBlock], { cwd: project, env, encoding: 'utf8', timeout: 30000 }); - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 52
const probe = () => spawnSync('bash', ['-c', statusBlock], { cwd: project, env: statusEnv, encoding: 'utf8', timeout: 30000 }); - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 57
const fromSub = spawnSync('bash', ['-c', statusBlock], { cwd: drifted, env: statusEnv, encoding: 'utf8', timeout: 30000 }); - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 133
const r = spawnSync('bash', ['-c', statusBlock], { cwd: project, env: { ...statusEnv, CLAUDE_PLUGIN_ROOT: pluginRoot }, encoding: 'utf8', timeout: 30000 }); - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 157
const run = (block, extra) => spawnSync('bash', ['-c', block], { cwd: proj, env: { ...oEnv, ...(extra || {}) }, encoding: 'utf8', timeout: 30000 }); - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 170
const r = spawnSync('node', [join(profile, 'hooks', 'agent-return-contract.mjs')], { input: '{}', env: { ...oEnv, CLAUDE_PROJECT_DIR: proj }, encoding: 'utf8', - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 225
const gitInit = spawnSync('git', ['init', '-q', top], { encoding: 'utf8', timeout: 30000 }); - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 234
const r = spawnSync('bash', ['-c', climbStatus.replaceAll('${CLAUDE_PROJECT_DIR}', '${SUBST_PROJECT_DIR}')], { cwd: cwdSub, env: { ...climbEnv, SUBST_PROJECT_DI - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 238
const r = spawnSync('node', [join(SKILL_DIR, 'assets', 'agent-return-contract.mjs')], { input: '{}', cwd: cwdSub, env: hookEnv, encoding: 'utf8', timeout: 30000 - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 267
const hook = spawnSync(process.execPath, ['--input-type=module', '-e', code], { env: walkEnv, encoding: 'utf8', timeout: 30000 }); - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 268
const shell = spawnSync('bash', ['-c', rootBlock], { cwd: cwdMisc, env: walkEnv, encoding: 'utf8', timeout: 30000 }); - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 288
const wrapStatus = () => spawnSync('bash', ['-c', rawStatus], { cwd: wrapProj, env: wrapEnv, encoding: 'utf8', timeout: 30000 }) - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 290
const wrapMerge = () => spawnSync('bash', ['-c', blockAfter(runbookText, '**EXECUTE** merge settings (project)', '```\n')], { cwd: wrapProj, env: wrapEnv, encod - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 330
const status = spawnSync('bash', ['-c', rawStatus], { cwd: wrapProj, env: wrapEnv, encoding: 'utf8', timeout: 30000 }) - brewtools/skills/agent-return-setup/tests/suite-status.mjs, line 332
const merge = /✅ settings|❌ FAILED/.exec(spawnSync('bash', ['-c', mergeBlock], { cwd: wrapProj, env: wrapEnv, encoding: 'utf8', timeout: 30000 }).stdout)?.[0];
and 8 more places
Connects to the internet
The author does not mention this. It runs automatically when the plugin is installed.
Found in 3 places.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'agent-return-setup' ] || [ -L ~/.agents/skills/'agent-return-setup' ]; then echo 'A skill folder named agent-return-setup already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/kochetkov-ma/claude-brewcode' "$d" && git -C "$d" checkout --quiet '5da825f1d535d9658f0de0893529c6ce06a613a5' -- 'brewtools/skills/agent-return-setup' && mkdir -p ~/.agents/skills && cp -R "$d"/'brewtools/skills/agent-return-setup' ~/.agents/skills/'agent-return-setup' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'agent-return-setup' ~/.claude/skills/'agent-return-setup' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for kochetkov-ma/claude-brewcode shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/kochetkov-ma/claude-brewcode/)
Score history
| Date | Version | Score |
|---|
| 2026-11-13 | 5da825f | 92 |
| 2026-11-07 | 9ddf5c0 | 92 |