by pskoett
Skills for AI agents, self-improving agent skills
# Add to your Claude Code skills
git clone https://github.com/pskoett/pskoett-ai-skillsGuides for using ai agents skills like pskoett-ai-skills.
pskoett-ai-skills is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by pskoett. Skills for AI agents, self-improving agent skills. It has 343 GitHub stars.
pskoett-ai-skills's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/pskoett/pskoett-ai-skills" and add it to your Claude Code skills directory (see the Installation section above).
pskoett-ai-skills is primarily written in Shell. It is open-source under pskoett on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh pskoett-ai-skills against similar tools.
No comments yet. Be the first to share your thoughts!
Unlocks once the catalog security scan passes (runs nightly).
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
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.
Each skill addresses a problem I want agents to handle more consistently. Before codebase exploration, plan-interview helps the user and agent agree on constraints, scope, risk, and success criteria. It also checks whether a preparatory refactor should come first.
plan-interview stays optional. intent-framed-agent asks about material gaps and records an initial frame without requiring a confirmation round for a clear request. session-context then searches relevant prior sessions before the agent finalizes its approach. It returns cited evidence, not new instructions, and adds no historical brief when nothing useful matches.
During execution, intent-framed-agent watches for scope drift. context-surfing monitors context quality and prepares a handoff when it degrades. verify-gate runs compile, test, and lint checks so the agent can catch failures without waiting for you to point them out.
When something fails, self-healing diagnoses the problem, verifies the fix, and saves it for reuse. After implementation, simplify-and-harden reviews quality and security while the agent still has the task context. self-improvement records mistakes and lessons for future sessions.
The idea is to use context while it's available. Planning captures what the user wants, execution reveals where the work drifts, and completion gives the agent a chance to review what it just built. The skills give each check a place in the workflow.
I organize the skills into two feedback loops. The inner loop catches and fixes failures during a session. The outer loop uses what went wrong to improve later sessions.
In the outer loop, learning-aggregator finds patterns in saved learnings, and the main agent follows self-improvement to write human-approved rules into project instructions. eval-creator turns promoted rules into regression tests. pre-flight-check brings relevant learnings and eval status into the next session.
skill-pipeline classifies the task and selects the skills and depth it needs. Each skill also works on its own.
control-session-orchestrator coordinates work across agents and sessions from a Codex, Copilot, or agent-app control session. It runs above the pipeline, outside the two loops. Invoke it directly rather than through skill-pipeline.
Point an Agent Plugins-compatible client or packager at agent-plugin/. Its entrypoint is agent-plugin/plugin.json.
The portable package contains only the curated Agent Skills bundle. Agent Plugins 1.0 does not standardize hooks, agents, commands, or installation. Use the native Claude Code, Codex, or GitHub Copilot adapters below for client-specific installation and hooks. This repo does not ship named agent presets.
A hooks/ directory inside a portable skill is a skill resource. Clients don't automatically register it as a plugin hook. The repo provides no MCP server, so it has no portable mcp.json.
Install the plugin from this repo's marketplace. Run each command inside Claude Code:
/plugin marketplace add pskoett/pskoett-skills
/plugin install pskoett-ai-skills@pskoett-skills
/reload-plugins
This installs the full bundle: skills and hooks. Independent reviews and cold-context checks use general-purpose read-only subagents on demand, following the skill guidance. Existing callers of the removed named presets should use that guidance instead; no compatibility aliases are provided.
The same bundle is available as a repo-local Codex plugin in plugin/.
pskoett skills marketplace, and install pskoett-ai-skills.Codex reads the marketplace from .agents/plugins/marketplace.json and the plugin manifest from plugin/.codex-plugin/plugin.json.
The Copilot CLI plugin root is plugin/.copilot-plugin/, selected by its marketplace entry. It contains symlinks to the shared plugin/skills/ and plugin/hooks/ directories:
copilot plugin marketplace add pskoett/pskoett-skills
copilot plugin install pskoett-ai-skills
Copilot reads the marketplace from .github/plugin/marketplace.json and the plugin manifest from plugin/.copilot-plugin/plugin.json.
Native Amp plugins live in amp-plugin/ and are installed separately from skills:
| Plugin | Behavior |
|---|---|
| Self-improvement | Adds a per-turn reminder to evaluate useful learnings. Does not write learning files. |
| Thread relevance | Uses Jev and native Amp search to suggest up to three thread names and links at a new orb's start. Investigation is optional; no transcript previews or mandatory reads. |
Neither plugin bundles skills or starts extra agent turns. Install skills separately using the installation guide.
For cross-project use, run amp plugins repositories, clone your writable User
Plugins repository using the printed command, and copy the chosen plugin to its
root: self-improvement.ts or the entire thread-relevance/ directory, not just
index.ts. Review any existing copy before replacing it. Commit and push that
repository, then reload plugins in existing Amp threads. Thread relevance requires
Amp CLI, Bash, Bun and Git; see its README for privacy rules and known limits.
Alternatively, copy the file or directory into a project's .amp/plugins/ directory
for project-only use. Choose one installation location per plugin to avoid duplicates.
This repo keeps the source in amp-plugin/, which Amp does not auto-load. Maintain
the source here and copy updates to the chosen plugin installation; publication
to the User Plugins repository is a separate step.
gh skill)Use gh skill to install individual skills. It requires GitHub CLI v2.90.0 or later.
# Browse this repo's skills interactively
gh skill install pskoett/pskoett-skills
# Install specific skills directly
gh skill install pskoett/pskoett-skills verify-gate
gh skill install pskoett/pskoett-skills self-healing
gh skill install pskoett/pskoett-skills simplify-and-harden
gh skill install pskoett/pskoett-skills self-improvement
# Target a specific host and scope when needed
gh skill install pskoett/pskoett-skills verify-gate --agent codex --scope user
gh skill installs to the correct skill directory for the selected host, including GitHub Copilot, Claude Code, Codex, Cursor, and Gemini CLI.
You can also install individual skills with the Agent Skills CLI:
npx skills add pskoett/pskoett-skills/skills/verify-gate
npx skills add pskoett/pskoett-skills/skills/self-healing
npx skills add pskoett/pskoett-skills/skills/simplify-and-harden
npx skills add pskoett/pskoett-skills/skills/self-improvement
The skills work with agents that follow the Agent Skills specification.
Clone and copy (or symlink) the skill directories you want:
git clone https://github.com/pskoett/pskoett-skills.git
cp -r pskoett-skills/skills/verify-gate ~/.claude/skills/
skills/
skill-name/
SKILL.md # Required - skill definition with YAML frontmatter
scripts/ # Optional - executable code
references/ # Optional - documentation loaded on demand
assets/ # Optional - templates, images, data files
| Skill | Description |
|---|---|
| context-decay | Maintains saved knowledge by decay type and rate, on its own or during self-improvement capture, review, and promotion |
| context-surfing | Monitors context quality during multi-step work and prepares a handoff when it degrades |
| control-session-orchestrator | Coordinates work across agents and sessions from Codex, GitHub Copilot, or agent-app sessions |
| intent-framed-agent | Records the intended outcome at execution start and monitors scope drift until the task is resolved |
| plan-interview | Runs a structured interview before planning non-trivial implementations |
| self-healing | Diagnoses, patches, verifies, and records fixes when a command, test, helper, environment, or external service fails during a task |
| self-improvement | Captures learnings and errors with hook-based activation and automatic skill extraction |
| session-context | Retrieves a bounded, cited prior-session brief after the initial intent frame and before finalizing the approach (beta) |
| skill-pipeline | Classifies tasks and selects which skills to run and how much review each task needs |
| simplify-and-harden | Reviews completed work to simplify code, address security risks, add brief documentation, and re-run checks |
| verify-gate | Runs compile, test, and lint checks between implementation and quality review, with a fix loop for failures |
| learning-aggregator | Re |