Skip to content

About

Reusable plugins, skills, and hooks for AI-assisted coding with Codex and Claude Code.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

Agent Stack

A personal plugin for Claude Code and Codex, with engineering guidelines and a session hook.

Use coding-guidelines for everyday engineering. karpathy-guidelines is available on explicit request. The SessionStart hook adds a short set of coding defaults to new sessions and requires Python 3.

Why these skills exist

Coding agents need clear expectations, context from the codebase, and checks that show a change works. Agent Stack brings these practices together as small skills you can invoke when a task calls for them.

The SessionStart hook supplies concise coding defaults. For deeper guidance, choose a skill explicitly. In Codex, invoke it with $skill-name; in Claude Code, use /agent-stack:skill-name.

Make focused changes

Use coding-guidelines to choose a simple design, keep changes scoped, and verify behavior. Its Easier To Change (ETC) principle favors designs where likely changes stay local without adding flexibility for imagined futures. Use karpathy-guidelines when you want to apply the original Karpathy Guidelines.

$coding-guidelines implement the order filter and verify it
$karpathy-guidelines review this refactor

Review code quality

Use code-quality for a deep review of structural complexity, abstractions, and maintainability.

$code-quality review these changes for structural problems and meaningful simplifications

Understand before changing

Use decode to explore how a subsystem works and, when relevant, investigate the record behind its design. Use blast-radius to check what a proposed change could affect beyond the diff.

$decode how does authentication work and why was it designed this way?
$blast-radius what could this API change break?

Prevent recurring mistakes

Use safeguard to investigate a recurring error and add a proportionate protection, such as a test or a configuration check.

$safeguard prevent skills from being omitted from the plugin manifest

Write clearly

Use unslop to remove generic AI-sounding language while preserving the author's meaning, language, and voice.

$unslop make this PR description clear and natural

Reference

All skills are explicitly invoked.

  • coding-guidelines: Practical guidance for design, focused changes, tests, verification, and ETC (Easier To Change).
  • code-quality: Deep review of structural complexity and maintainability.
  • karpathy-guidelines: The original behavioral guidelines for reducing coding mistakes.
  • decode: Explain how code works and investigate the reasons behind its design.
  • blast-radius: Investigate downstream risks and verify the assumptions behind a change.
  • safeguard: Prevent a recurring error with a verifiable protection.
  • unslop: Revise writing while preserving meaning and voice.

Install the plugin

Claude Code

/plugin marketplace add tharlysonribeiro/agent-stack
/plugin install agent-stack@agent-stack

Codex

codex plugin marketplace add tharlysonribeiro/agent-stack
codex plugin add agent-stack@agent-stack

Alternatively, install Agent Stack from Codex's Plugins directory after adding the marketplace. Review and trust the SessionStart hook when prompted.

For local development, use the repository path instead of tharlysonribeiro/agent-stack.

Install skills with APM

The APM package includes the skills. The session hook is provided by the plugin.

apm install tharlysonribeiro/agent-stack#master --target agent-skills

This installs the latest version from the master branch.

MCP setup lives in Agent MCP.

Project instructions

AGENTS.md contains shared guidance for work inside this repository. CLAUDE.md imports it for Claude Code. Installing the plugin does not copy either file into consuming projects.

See DEVELOPING.md for project organization and local validation commands.

Acknowledgements

The skills and guidelines draw inspiration from Lauren Tan's pstack. Thank you to Lauren for sharing this work:

The bundled Karpathy Guidelines use multica-ai/andrej-karpathy-skills as a reference. The skill retains the source attribution and MIT license declaration.

About

Reusable plugins, skills, and hooks for AI-assisted coding with Codex and Claude Code.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages