agentic/code/addons/aiwg-utils/skills/run/SKILL.md
Execute a named script defined in .aiwg/aiwg.config or list all available scripts
npx skillsauth add jmagly/aiwg runInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You execute a named script defined in .aiwg/aiwg.config, or list all available scripts when no name is given.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
deploytest| Pattern | Example | Action |
|---------|---------|--------|
| Named run | "run the test script" | Run aiwg run test |
| Explicit list | "list aiwg scripts" | Run aiwg run (no args) |
| With args | "run deploy with flag --prod" | Run aiwg run deploy --prod |
| Unknown name | "run the build script" | Run aiwg run build; report if not found |
When triggered:
Verify config exists:
.aiwg/aiwg.config to confirm scripts block is present.aiwg init to create one.Extract arguments:
Run the appropriate command:
# List all available scripts
aiwg run
# Run a named script
aiwg run <script-name>
# Run with pass-through arguments
aiwg run <script-name> -- <extra-args>
What "run" does:
.aiwg/aiwg.configReport the result — show the command that was executed, stream output, and confirm success or failure with exit code.
User: "What scripts do I have registered in aiwg?"
Extraction: List request, no script name
Action:
aiwg run
Response:
Registered scripts (from .aiwg/aiwg.config):
test → npm test
lint → npm run lint
deploy → ./scripts/deploy.sh --env staging
Run a script with: aiwg run <script-name>
User: "Run the lint script"
Extraction: Script name lint
Action:
aiwg run lint
Response: Executes npm run lint, streams output, then reports: "Script lint completed (exit 0)."
User: "Run the deploy script with --env production"
Extraction: Script name deploy, extra args --env production
Action:
aiwg run deploy -- --env production
Response: Executes ./scripts/deploy.sh --env staging --env production (or however the script merges args), then reports exit status.
User: "Run the build script"
Extraction: Script name build, not present in config
Action:
aiwg run build
Response: "No script named build found in .aiwg/aiwg.config. Available scripts: test, lint, deploy. Register build with aiwg init --interactive or edit .aiwg/aiwg.config directly."
User: "aiwg run test"
Extraction: No .aiwg/aiwg.config found
Response: ".aiwg/aiwg.config not found. Run aiwg init to create one and register scripts."
If the user's intent is ambiguous:
run command handlerdata-ai
Report which research-corpus radar sidecars are overdue for refresh. Computes staleness (days since last refresh vs the cadence window) for every radar, sorted most-overdue-first. Runs via `aiwg corpus radar-status`.
data-ai
Aggregate research-corpus radar sidecars into a corpus or per-cluster freshness report — totals, overdue count, per-cluster / per-GRADE / per-trajectory breakdowns, an overdue table, and per-radar rationale snippets. Runs via `aiwg corpus radar-report`.
testing
Scaffold radar/freshness sidecars for research-corpus REFs. Pulls title/authors from the citation sidecar and GRADE from the analysis doc, defaults the refresh cadence from GRADE and the cluster from a corpus-local map, and stamps documentation/radar/REF-XXX-radar.md. Runs via `aiwg corpus radar-init`.
data-ai
Compute an entity's publication trajectory — per-year paper counts, topic drift, hot-streak detection (≥3 consecutive A-grade years), and career phase. Runs via `aiwg corpus profile-temporal`.