Dev config
Set or switch the G+Smo build directory (e.g. debug vs release), the parallel-jobs cap used by all agent build scripts, and which advisor the implementers use. Writes .claude/gismo-dev.local.json. Run when there are multiple build dirs, after creating a new one, to change the -j limit, or after enabling/disabling Claude Code's advisorModel.From its SKILL.md
npx -y skills add gismo/gsAgents --skill dev-configAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.8 KB, as published. Nobody here has run it
You configure the per-developer local settings that every G+Smo agent script reads.
The config file is .claude/gismo-dev.local.json at the repo root (gitignored):
{ "build_dir": "/abs/path/to/build", "jobs": 4, "advisor": "agent" }
Steps
-
If both arguments were given (
/gismo:dev-config build_debug 4), skip to step 4. -
List candidate build dirs. Run from the repo root:
for d in build*/; do [ -f "$d/CMakeCache.txt" ] && echo "$d: $(grep -m1 '^CMAKE_BUILD_TYPE:' $d/CMakeCache.txt | cut -d= -f2)"; doneShow the user each dir with its build type (Release/Debug/RelWithDebInfo). If none exist, tell the user to configure a build directory first (
cmake -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .) and stop. -
Ask the user which build dir to use, and how many parallel jobs. For jobs, offer 1 / 2 / 4 (default) and note the hard cap: scripts clamp to
nproc/2because unbounded-jhas crashed machines by exhausting RAM.Also ask who advises the sonnet implementers, because they must have exactly one advisor, not two:
agent(default) — no Claude Code advisor configured; implementers consult thegismo:advisorsubagent at two mandatory points.native— the user hasadvisorModelset (or runs/advisor/--advisor); subagents inherit it, so implementers skipgismo:advisorand rely on the native one.
Check before asking:
grep -h advisorModel ~/.claude/settings.json .claude/settings.json 2>/dev/null— a hit meansnativeis the right answer. If the user later runs/advisor off, re-run this skill to switch back toagent. -
Write the config with the deterministic script (never write the JSON by hand):
bash ${CLAUDE_PLUGIN_ROOT}/skills/dev-config/scripts/set_config.sh <build_dir> <jobs> [agent|native] -
set_config.shassertscompile_commands.jsonexists in the chosen build dir and, if missing, enables it automatically (cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .— a cache-var flip, no rebuild triggered) before writing the config. This is required:/gismo:syntax-checkrefuses to run without it (exact per-file flags matter — a submodule file must never be checked with the core library's generic flags). Confirm to the user what was set, including the build type of the selected dir.