agent-loop-ext
Crash-resilient external agent loop with state persistence and CI/CD integration
Audit provider-facing context, trust, drift, poisoning signals, and budget, then manage the reviewed baseline through a plan-first public CLI workflow
$ npx -y skills add jmagly/aiwg --skill context-firewall --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/context-firewallContext preview
The summary Claude sees to decide when to auto-load this skill.
Audit provider-facing context, trust, drift, poisoning signals, and budget, then manage the reviewed baseline through a plan-first public CLI workflow
namespace: aiwg name: context-firewall platforms: [all] kernel: true description: Audit provider-facing context, trust, drift, poisoning signals, and budget, then manage the reviewed baseline through a plan-first public CLI workflow
Use the public AIWG CLI to inspect context that can enter provider sessions. Keep scans read-only, never print source bodies as part of a threat finding, and treat baseline confirmation as an attestation that every planned record was reviewed.
1. Run `aiwg context-firewall scan`, adding repeatable `--provider <name>`, `--strict`, or `--json` only when the task needs them. 2. Report violations and warnings using paths, trust labels, review states, digests, sizes, and signal identifiers. Do not reproduce suspicious content. 3. If a baseline is requested, run `aiwg context-firewall baseline --plan`. Inspect every emitted record and surface any quarantined, stale, external, or changed entry before considering a write. 4. Do not infer approval from a request to scan, diagnose, plan, or repair. Baseline mutation requires explicit user authorization after the plan has been presented and reviewed. 5. Only after that authorization, run `aiwg context-firewall baseline --write --confirm-reviewed`. Use `--output <project-relative-path>` only when the user requested a custom destination. 6. Re-run `aiwg context-firewall scan --strict` and report the resulting status.
The writer fails closed for unsafe records, paths outside the project root, symlink escapes, and missing confirmation. Do not bypass those checks or invoke the underlying implementation script directly.
Report:
Reusable project context and specialist workflows for the AI tools you already use. Plan software, coordinate specialist reviews, prepare campaigns, investigate incidents, organize research, curate media, and maintain operational knowledge.
Repo: jmagly/aiwg
Crash-resilient external agent loop with state persistence and CI/CD integration
Detect requests for iterative autonomous agent loops and route to the appropriate loop executor
Automatically execute tests when code-generating agents modify source files, enforcing the execute-before-return pattern
Enable agent loops to learn from similar past tasks and share patterns across loops
Query and manage the executable feedback debug memory
Execute tests on generated code and iterate until passing