Skip to content

eai-org/agent-toolkit

Repository files navigation

agent-toolkit

A collection of project-agnostic, generic agentic tools for common engineering tasks.

Designed to work with any kind of AI agent on any kind of software development project.

Skills

Agentic skills I use across all my software engineering projects — solo or in a team.

Not bound to any specific language or framework.

Skill & doc authoring

The tools I use to create and continuously improve the skills and docs my agents rely on — following my approach to agentic skills, I improve the behavior of my agents literally every day.

  • compact-docs-writer — write docs with maximum token economy.
  • compact-skill-creator — create or edit skills, keeping them lean and efficient.
  • self-improve — capture a lesson into the skill or doc that governs it, so mistakes aren't repeated and agents keep getting better at the project.

Context & memory hygiene

Maintenance to run from time to time, keeping your setup tidy and your context sharp.

Task workflow

My daily routine for any programming task, following the RPA workflow: fetch a ticket, refine it, plan it, then let a fresh session execute it.

  • fetch-ticket — download a ticket from any tracker (e.g. GitHub, Jira, Azure DevOps) and save it as a self-contained markdown file.
  • refine-ticket — define the "what" of a task: validate the ticket against the codebase, settle open decisions together, and save a self-contained requirements doc a fresh session can pick up.
  • create-implementation-plan — define the "how" of a task: turn the requirements into an implementation plan, settling the technical decisions together, then save it for a fresh session to execute.
  • create-manual-test-instructions — derive manual test steps from a ticket or requirements file, useful for the developer or QA.

Review assistants

Powerful review helpers that are able to quickly check the codebase when assisting with code or ticket reviews.

  • fetch-pr-review — collect the comments left by other reviewers on your PR and save them into a markdown doc, ready to address (or push back on), for example via refine-pr-review.
  • refine-pr-review — go through a fetched PR review together, comment by comment — address, partial, or push back — drafting the replies and turning the accepted changes into a requirements doc.
  • review-code-assistant — assist you in reviewing a PR or branch.
  • use-conversational-language — the voice for text that should read as if a person typed it, used by the review skills for comments and replies and by rules for user-facing texts and code comments.
  • review-ticket — triage a ticket before anyone picks it up, spotting decisions to raise with the team.
  • check-ticket-implementation — check how much of a ticket is already implemented in the code, marking each requirement as done, partial, or not done in a human-readable status report.
  • fresh-eyes-review — let an agent with a fresh perspective review a changeset and report its findings back to the main session.

Code checks

  • run-nx-checks — run format, lint, test, and build on the affected projects of an Nx workspace and fix unambiguous failures.

Rules

A set of generic, project-agnostic, opinionated rules that apply to any codebase.

How to install

Quick Install / Update (recommended)

Install in one command:

git clone https://github.com/eai-org/agent-toolkit.git && cd agent-toolkit && ./install.sh

Update in one command:

cd agent-toolkit && git pull && ./install.sh

Install via symlinks

install.sh symlinks every rule and skill from this repo in two layers:

  1. ~/.agents/{rules,skills} — the canonical, agent-neutral location — gets one link per rule file and skill directory, pointing into the repo;
  2. your agent's own directories — ~/.claude/{rules,skills} by default — get links pointing at the ~/.agents entries.

The skills and rules become available in all your projects without copying files around, and every agent wired to ~/.agents shares the same set.

Re-running converges: correct links are left alone, links from the old direct layout are re-pointed, and broken links owned by this repo are pruned — so git pull && ./install.sh always brings an existing install up to date.

First clone the repo (or your own fork):

git clone https://github.com/eai-org/agent-toolkit.git && cd agent-toolkit

Then you can run:

./install.sh

This will link all rules and all skills. To customize, use the options below:

./install.sh --rules-only            # link rules only
./install.sh --skills-only           # link skills only
./install.sh --agents-dir DIR        # custom agent-neutral location (default: ~/.agents)
./install.sh --skills-dir DIR        # agent skills dir to wire (e.g. a project's .claude/skills)
./install.sh --rules-dir DIR         # agent rules dir to wire
./install.sh --force                 # overwrite real files/dirs and foreign symlinks
./install.sh --help

Each rule and skill is linked individually.

You can also skip the script and symlink just the ones you want by hand, through the same two layers:

mkdir -p ~/.agents/rules ~/.agents/skills ~/.claude/rules ~/.claude/skills
ln -s "$(pwd)/rules/no-nonsense-comments.md"  ~/.agents/rules/
ln -s "$(pwd)/skills/run-nx-checks"           ~/.agents/skills/
ln -s ~/.agents/rules/no-nonsense-comments.md ~/.claude/rules/
ln -s ~/.agents/skills/run-nx-checks          ~/.claude/skills/

Start a new session and run /context to confirm everything is loaded. Rules and skills apply at the user level (all projects); to scope them to one project, wire that project's directories instead, e.g. ./install.sh --skills-dir <project>/.claude/skills --skills-only.

Other agents

Other agents like OpenCode discover Claude-style skills in ~/.agents/skills natively, so the default install already covers them. For one that doesn't, point its skills directory at ~/.agents/skills — or run the script again with the agent's own directories:

./install.sh --skills-dir <agent-skills-dir> --rules-dir <agent-rules-dir>

Auto-loaded rule directories are mostly a Claude Code feature; agents without one take a single global AGENTS.md instead, so only the skills layer applies to them.

Install with agentwheel

agentwheel installs this repo's rules and skills into your agent and keeps them in sync across Claude, Codex, Copilot, and other runtimes, from one source. This repo ships an openpack.json manifest, so it's a first-class OpenPack package (requires agentwheel ≥ 0.9.0). Run it from where you want it installed (~ for user level, or a project root):

npx agentwheel install github:eai-org/agent-toolkit --adapter claude

Swap --adapter claude for codex, copilot, etc. to target other agents. For dry runs, tracking updates, named targets, profiles, or more controlled addplaninstall flows, see the agentwheel documentation.

Only want specific pieces instead of everything? Select them by <type>/<name>, for example one skill plus one rule:

npx agentwheel install github:eai-org/agent-toolkit --adapter claude \
  --select skills/run-nx-checks,rules/no-nonsense-comments.md

--select is repeatable or comma-separated.

The manifest also marks hard internal dependencies. For example, selecting skills/compact-skill-creator also installs skills/compact-docs-writer.

Install skills via skills.sh

You can also use the skills.sh installer to install the skills from this repo:

npx skills add eai-org/agent-toolkit

Install skills via Claude Code plugin marketplace

Add the marketplace, then install the toolkit:

/plugin marketplace add eai-org/agent-toolkit
/plugin install agent-toolkit

All skills install together, namespaced as /agent-toolkit:<skill> (for example /agent-toolkit:memory-doctor).

Artifact relationships

Some skills and rules form a workflow or rely on each other. Hard dependencies are encoded in openpack.json; suggested next steps remain documented in the skill text.

flowchart TD
  fetch_ticket["fetch-ticket"] --> refine["refine-ticket"]
  fetch_pr["fetch-pr-review"] --> refine_pr["refine-pr-review"]
  refine_pr --> refine
  refine_pr --> plan
  refine_pr --> express["use-conversational-language"]
  review_code["review-code-assistant"] --> express
  realistic_rule["write-realistic-texts rule"] --> express
  nonsense_rule["no-nonsense-comments rule"] --> express
  review_ticket["review-ticket"] --> fetch_ticket
  check_impl["check-ticket-implementation"] --> fetch_ticket
  refine --> manual["create-manual-test-instructions"]
  refine --> plan["create-implementation-plan"]

  self_rule["self-improve-on-correction rule"] --> self["self-improve"]
  self --> compact["compact-skill-creator"]
  self --> compact_docs["compact-docs-writer"]
  compact --> compact_docs
  memory_doctor["memory-doctor"] --> self
  compact_gov["compact-governing-docs rule"] --> compact
  compact_gov --> compact_docs

  plans_rule["plans-directory rule"] -. informs .-> fetch_ticket
  plans_rule -. informs .-> fetch_pr
  plans_rule -. informs .-> refine_pr
  plans_rule -. informs .-> refine
  plans_rule -. informs .-> manual
  plans_rule -. informs .-> plan
  plans_rule -. informs .-> review_ticket
  plans_rule -. informs .-> check_impl

  docs_rule["self-contained-docs rule"] -. informs .-> fetch_ticket
  docs_rule -. informs .-> fetch_pr
  docs_rule -. informs .-> refine_pr
  docs_rule -. informs .-> refine
  docs_rule -. informs .-> manual
  docs_rule -. informs .-> plan
Loading

About

Minimalistic, project-agnostic skills and rules for AI coding agents

Topics

Resources

License

Stars

20 stars

Watchers

0 watching

Forks

Contributors

Languages