CA sync-gbrain
Keep gbrain current with this repo's code and refresh agent search guidance in CLAUDE.md. (gstack)
This skill syncs your repo's code with gbrain and refreshes agent guidance in CLAUDE.md automatically. Promises to keep AI knowledge current without manual updates. Scored C: quality 55, process 85, safety 95. One medium-level finding signals implementation gaps. Single file, no scripts, sparse content.
What you get: automation of routine updates, with caveats. Wide platform support (Claude, Cursor, Gemini, DeepSeek, etc.) shows portability, but low quality_score hints the logic may be fragile. Worth installing if you tolerate rough edges and plan to monitor sync manually anyway.
Keep gbrain current with this repo's code and refresh agent search guidance in CLAUDE.md. (gstack)
As a process A 85/100 · Runs to the end — weak spots: execution cost
What is at stake
Medium-severity findings: the skill is probably honest, but read what alarmed the scanner.
Below is the worst case for this category. The finding here is medium: the guard saw a sign, not a proof.
The skill asks for more than the task needs: broad tool access, credential environment variables, binaries. Every extra permission widens the damage from a mistake or a compromise.
Narrow allowed-tools and the variable list to the minimum; replace binaries with readable sources or scripts.
How to improve
- Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
- The SKILL.md body is over 5,000 tokens: move reference detail into references/ and load it when needed.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 1
✓ No critical or high findings
Medium and low: 1
-
medium Broad scope
meta-broad-allowed-toolsSKILL.md:1Broad tool permissions pre-approved: Bashallowed-tools: Bash Read Write Edit Glob Grep AskUserQuestion
Files scanned: 1. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- warning
description-no-whendescription does not say WHEN to use the skill (no "use when") - warning
body-longSKILL.md body ≈ 14648 tokens (recommended < 5000); move details to references/ - note
frontmatter-keyunknown frontmatter key "preamble-tier" - note
frontmatter-keyunknown frontmatter key "triggers"
Process rating: all ten parameters 85/100
- 40Execution cost. Instruction body is 14648 tokens: crowds the task out of the window
- 50When it triggers. No condition that starts the skill
- 60Result and completion. Output format stated, no completion criterion
- 100Tools and files. Tools declared in frontmatter
- 100Steps. 85 steps
- 100Inputs and preconditions. Inputs and preconditions are listed
- 100Failures and branches. 14 branches, has a failure section
- 100Consistency. Name and required fields are in place
- 100Running it twice. Mutating operations check current state
- 100Progress reporting. Reports progress
- medium Safety rules and hard prohibitions inside a skill: they belong in the system prompt, here they protect nothing
- low 31 top-level sections: this looks like several domains in one skill
- low The response is described with custom markup (18 tags): a typed call is more reliable
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +4Description does not say when NOT to use the skill (false activations)
- +3Description length 98: 120–800 characters recommended
- -5TODO / placeholder text left in the skill
- +1No license
- +2Single-language instructions
- +4Structure: 37 headings
- +3Step-by-step instructions: 85 items
- +3Output format is stated explicitly
- +4Has examples (20 code blocks)
Quality base 70; lint remarks subtract, signals add up to 100. Result: 55.