context-decay
Revalidate persistent agent knowledge by classifying why it can become stale and how quickly it changes, then retain, revise,…
CI-only Simplify & Harden workflow for pull requests using gh-aw (GitHub Agentic Workflows). Runs headless scan-and-report checks for simplify/harden/document, posts structured findings, and can block merges on critical or advisory classes. Use when: you want automated
Claude Code
$ npx -y skills add pskoett/pskoett-ai-skills --skill simplify-and-harden-ci --agent claude-code
Codex
$ npx skills add pskoett/pskoett-ai-skills --skill simplify-and-harden-ci -a codex -y
Cursor
$ npx skills add pskoett/pskoett-ai-skills --skill simplify-and-harden-ci -a cursor -y
Gemini CLI
$ npx skills add pskoett/pskoett-ai-skills --skill simplify-and-harden-ci -a gemini-cli -y
GitHub Copilot
$ npx skills add pskoett/pskoett-ai-skills --skill simplify-and-harden-ci -a github-copilot -y
OpenCode
$ npx skills add pskoett/pskoett-ai-skills --skill simplify-and-harden-ci -a opencode -y
Windsurf
$ npx skills add pskoett/pskoett-ai-skills --skill simplify-and-harden-ci -a windsurf -y
name: simplify-and-harden-ci description: "CI-only Simplify & Harden workflow for pull requests using gh-aw (GitHub Agentic Workflows). Runs headless scan-and-report checks for simplify/harden/document, posts structured findings, and can block merges on critical or advisory classes. Use when: you want automated quality/security review in CI without interactive approvals."
gh skill install pskoett/pskoett-skills simplify-and-harden-ci
Fallback using the Agent Skills CLI:
npx skills add pskoett/pskoett-skills/skills/simplify-and-harden-ci
Run a CI-only variant of Simplify & Harden in pull requests:
Use `simplify-and-harden` for interactive/local coding sessions.
CI agents do **not** have the same peak implementation context as the coding agent that wrote the change. Treat CI findings as structured review signals, not as full intent-aware rewrites.
Implications:
1. GitHub Actions enabled for the repository 2. GitHub CLI authenticated (`gh auth status`) 3. `gh-aw` installed locally for authoring/validation:
gh extension install github/gh-aw
4. In GitHub Actions jobs, install the CLI with:
- uses: github/gh-aw/actions/setup-cli@main
with:
version: v0.2.0-betaThe CI skill must enforce:
1. Scope lock: review only files changed in the PR 2. Headless execution: report findings, do not apply patches/refactors 3. Structured output: emit `simplify_and_harden` summary payload 4. Gate policy:
Example-only template lives in `references/workflow-example.md`. Keep it outside `.github/workflows` until you explicitly want automation enabled.
When ready to enable: 1. Copy `references/workflow-example.md` template block into `.github/workflows/simplify-and-harden-ci.md`. (The `.md` extension is intentional: gh-aw workflows are markdown files that `gh aw compile` compiles into the `.lock.yml` files GitHub Actions actually runs. This is not a standard hand-written Actions YAML workflow.) 2. Compile and validate workflow:
gh aw compile --validate --strict
3. Trigger and push workflow changes:
gh aw run simplify-and-harden-ci --push
4. Check status/logs in GitHub Actions and ensure PR feedback is posted.
Use this prompt body in your gh-aw workflow:
Run Simplify & Harden in CI (headless mode) for this pull request. Rules: 1) Review only files changed in this PR. 2) Do not modify repository files. 3) Before reporting findings, re-read all changed code with "fresh eyes" and actively look for obvious bugs, errors, confusing logic, brittle assumptions, naming issues, and missed hardening opportunities. 4) Simplify pass: detect dead code, naming clarity issues, control-flow complexity, unnecessary API surface, and over-abstraction. 5) Harden pass: detect input-validation gaps, injection vectors, auth/authz issues, secret exposure, data leaks, and concurrency risks. 6) Document pass: suggest non-obvious rationale comments as findings (do not edit files). 7) Emit structured YAML under key `simplify_and_harden`, including: - simplify findings - harden findings (critical/advisory split) - summary counts - `review_followup_required` - learning loop candidates for self-improvement ingestion 8) If blocking policy is enabled and matching findings exist, mark the run as failed.
1. PR comment with concise findings and severity ordering 2. Check run summary with pass/fail reason 3. Machine-readable YAML artifact for downstream automation
Forward `simplify_and_harden.learning_loop.candidates` into `.learnings/LEARNINGS.md` via the `self-improvement` workflow so recurrent patterns can be promoted into durable agent context rules.
I use this repository to build and test skills for AI agents. The skills follow the Agent Skills specification, and the repo includes an Agent Plugins 1.0 portable package.
Revalidate persistent agent knowledge by classifying why it can become stale and how quickly it changes, then retain, revise,…
Monitors context window health during large, long-running, multi-session, or explicitly context-sensitive work. Uses bounded…
Control-plane workflow for coordinating multi-agent, multi-session project work from a single Codex, GitHub Copilot, or agent-app…
[Beta] CI-only eval regression runner using gh-aw (GitHub Agentic Workflows). Runs all eval cases in .evals/ on a schedule or…
[Beta] Creates permanent eval cases from promoted learnings and runs regression checks against them. Turns failures into test…
Frames coding-agent work sessions with explicit intent capture and drift monitoring. Use when a session transitions from…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agent…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…