1
0
Fork 0
mirror of https://github.com/jimeh/agentic.git synced 2026-08-18 18:21:17 +00:00
Shared configuration and rules for AI coding agents (Claude Code, Codex, etc.)
Find a file
2026-08-16 16:42:45 +00:00
.claude chore(claude): add mise format and lint permissions 2026-03-26 23:02:44 +00:00
.claude-plugin fix(agent-config): stop RTK intercepting stdin workflows 2026-08-06 00:20:44 +00:00
.github/workflows fix(harness): harden agent config install edge cases 2026-07-02 14:16:27 +01:00
.vscode chore(vscode): use formatter-specific oxc setting 2026-05-08 09:52:41 +01:00
bin feat(bin): add opus and clide wrappers, default effort for CLI wrappers 2026-07-25 10:06:33 +00:00
claude fix(agent-config): restore valid Claude model name 2026-08-11 13:48:53 +00:00
codex refactor(agent-config): streamline rules and PR workflows 2026-08-12 00:13:55 +00:00
docs fix(harness): mirror the Codex commit block too 2026-07-28 00:08:38 +00:00
generated refactor(agent-config): streamline rules and PR workflows 2026-08-12 00:13:55 +00:00
packages refactor(agent-config): streamline rules and PR workflows 2026-08-12 00:13:55 +00:00
plugins fix(agent-config): stop RTK intercepting stdin workflows 2026-08-06 00:20:44 +00:00
rules refactor(agent-config): streamline rules and PR workflows 2026-08-12 00:13:55 +00:00
schemas fix(agent-config): close workflow ownership gaps 2026-07-28 10:57:21 +00:00
skills fix(skills): keep PR attribution compact 2026-08-16 16:42:45 +00:00
thirdparty chore(skills): refresh vendored skill sources 2026-08-12 00:15:38 +00:00
.coderabbit.yaml feat(harness): make agent config tooling reproducible 2026-07-02 12:41:45 +01:00
.editorconfig feat: add oxfmt and markdownlint for Markdown formatting 2026-02-25 23:57:18 +00:00
.gitignore feat(agent-config): integrate CodeGraph tooling 2026-07-29 02:06:54 +00:00
.markdownlint-cli2.jsonc refactor(agent-config): streamline rules and PR workflows 2026-08-12 00:13:55 +00:00
.oxfmtrc.json feat(harness): vendor third-party agent skills 2026-06-21 02:18:00 +01:00
.pinact.yaml feat(harness): make agent config tooling reproducible 2026-07-02 12:41:45 +01:00
.treeboot.toml feat(harness): make agent config tooling reproducible 2026-07-02 12:41:45 +01:00
agent-config.toml refactor(agent-config): streamline rules and PR workflows 2026-08-12 00:13:55 +00:00
AGENTS.md feat(harness): derive project instructions from evidence 2026-08-16 10:54:45 +00:00
bun.lock feat(harness): package agent config tooling 2026-07-02 12:41:45 +01:00
bunfig.toml chore(harness): add agent metadata checks 2026-05-18 16:31:52 +01:00
CLAUDE.md docs: add AGENTS.md with CLAUDE.md as thin reference 2026-02-15 14:33:36 +00:00
lefthook.yml feat(harness): make agent config tooling reproducible 2026-07-02 12:41:45 +01:00
mise.lock chore(agent-config): retire GitNexus and refresh tools 2026-08-11 10:00:27 +00:00
mise.toml feat(agent-config): integrate CodeGraph tooling 2026-07-29 02:06:54 +00:00
package.json feat(harness): make agent config tooling reproducible 2026-07-02 12:41:45 +01:00
README.md fix(agent-config): stop RTK intercepting stdin workflows 2026-08-06 00:20:44 +00:00
tsconfig.json feat(harness): make agent config tooling reproducible 2026-07-02 12:41:45 +01:00

agentic

My personal AI coding agent configuration, with any quirks, oddities, opinionated rules, and hallucination-inducing prompt fragments I live with on a daily basis.

One repo, one base rule set, rendered into per-agent global instruction files. Supports Claude Code, Codex, and any tool that reads AGENTS.md.

Warning

This is my personal config. It is not a starter kit, a framework, or a best-practices guide. If you use it as-is, things will probably work — but they'll work my way, which may not be your way. Browse for ideas, steal what's useful, but don't say I didn't warn you.

Quick Start

git clone https://github.com/jimeh/agentic.git ~/.config/agentic
cd ~/.config/agentic
mise run setup                  # install dependencies and local git hooks
mise run agent-config:install   # create symlinks (skips existing)
# mise run agent-config:force   # replace existing (backs up to .bak)

This creates symlinks from the repo into ~/.claude/, ~/.agents/, and ~/.codex/, and registers configured plugin marketplaces via the Claude CLI. Use the mise run agent-config:* tasks for installation.

Install only project dependencies with:

mise run deps:install

Git hooks are managed by Lefthook and installed by mise run setup. To install or refresh hooks directly:

mise run hooks:install

What's Inside

  • rules/ — Source Markdown for global behavior rules. Each render target declares itself with type: agentic-rules frontmatter and composes its content with <!-- include: path --> directives. See rules/README.md.
  • generated/ — Rendered global rule files (CLAUDE.md, CODEX.md, OPENCODE.md). These are symlinked into agent config directories; edit rules/ and run mise run rules:build instead of editing generated files directly.
  • agent-config.toml — Installer config for fixed symlinks, skill symlink roots, stale-link cleanup paths, Claude plugin marketplaces, and auto-installed Claude plugins. It points editors at schemas/agent-config.schema.json; JSON and YAML config files are also supported.
  • claude/ — Claude Code settings and statusline script.
  • codex/ — OpenAI Codex config.
  • skills/ — Custom skills (auto-discovered by the agent config installer).
  • thirdparty/ — Vendored third-party skills plus manifest and lock metadata.
  • plugins/ — Source retained for deprecated Claude Code plugins.
  • packages/agent-config/ — CLI package for installing agent configs, rendering generated rules, running plugin tests, and checking harness invariants.
  • docs/references/ — External articles and guides.

Skills are auto-discovered — drop a directory in the right place, re-run the agent config installer, done. Vendored third-party skills under thirdparty/skills/ are installed the same way, but only the explicit update task fetches from upstream. No plugins are currently published through the local Claude marketplace; the remaining plugin sources are retained but deprecated.

Update vendored third-party skills with:

mise run thirdparty:add-skills -- vercel-labs/agent-skills
mise run thirdparty:add-skills -- vercel-labs/agent-skills --skill skill-name
mise run thirdparty:update-skills
mise run thirdparty:update-skills:dry-run
mise run thirdparty:update-skills:check

Those tasks call the repo-local vendor-skills CLI through Bun. Its implementation and colocated tests live under packages/vendor-skills/src/. The add command accepts full git URLs or GitHub owner/repo shorthand and opens a multi-select prompt when --skill is not provided, then vendors selected skills and updates the lockfile. --skill matches a skill's frontmatter name or its upstream directory name. Individual manifest skill entries can set ref to pin or test a skill separately from the source default.

Render global instruction files after changing rules/:

mise run rules:build
mise run rules:check

Update pinned GitHub Actions with Pinact:

mise run actions:update

New worktrees can be bootstrapped with Treeboot:

mise run treeboot
mise run treeboot:check

Run local tests with:

mise run test
mise run test:plugins

Format Markdown and TypeScript with:

mise run format
mise run format:check

Mise-managed tools are locked in mise.lock. Bun stays on the 1.3 release line; other tools stay on their current major release lines with Mise's three-day minimum_release_age. Refresh tool lock metadata after changing mise.toml with:

mise lock --minimum-release-age 3d

Plugins

No plugins are currently supported or published by this repository. Sources under plugins/ are deprecated and retained for reference; they are not available from the marketplace.

Deprecated: strip-git-cwd

A PreToolUse hook that strips redundant git -C <cwd> flags from Bash commands when the path matches the current working directory. Claude Code tends to add these unnecessarily, and the -C flag changes the command string enough that pre-approved git commands no longer match the allowlist — causing repeated permission prompts.

Handles all -C syntax variants (space, =, bare, quoted) and compound commands (&&, ;).

Deprecated: git-commands

Slash commands for common git workflows:

  • /commit — Stage changes, create a well-formed commit.
  • /commit-push-pr — Commit, push, and open a PR.
  • /rebase — Rebase onto upstream main/master.
  • /clean-gone-branches — Clean up branches deleted on remote.

Derived from the official commit-commands plugin, heavily modified.

Deprecated: agents-md

Slash commands for managing AGENTS.md files:

  • /claude-md-to-agents-md — Convert CLAUDE.md to AGENTS.md.
  • /generate-agents-md — Generate AGENTS.md from codebase analysis.
  • /refactor-agents-md — Refactor AGENTS.md for progressive disclosure.

Deprecated: phased-work

A disciplined research-plan-implement workflow. Instead of jumping straight to code, you move through distinct phases so every decision is reviewed before implementation begins.

  • /research — Deep-read a codebase area, write findings to research.md.
  • /plan — Create a detailed implementation plan in plan.md.
  • /refine — Address inline notes you've added to the plan.
  • /todo — Add a granular task breakdown to the plan.
  • /implement — Execute the plan mechanically, marking progress.
  • /review — Optional post-implementation sanity check.

Also includes agent-agnostic prompt snippets for use with any AI coding assistant.

Deprecated: fd

Initializes a lightweight Feature Design (FD) tracking system in any project. Scaffolds directory structure, templates, index, project-local slash commands, and CLAUDE.md conventions for the full FD lifecycle.

  • /fd-init — Set up the FD system in the current project.

Based on the Feature Design system by manuelschipper.

Agent Config Installation

packages/agent-config exposes the agent-config CLI used by the mise tasks. Its install command reads agent-config.toml to create fixed symlinks, discover configured skill roots, clean stale managed symlinks, register Claude plugin marketplaces, and install configured Claude plugins. To add or remove auto-installed plugins, edit agent-config.toml. The loader checks config files in this order: agent-config.toml, agent-config.yaml, agent-config.yml, then agent-config.json.

Config source paths are repo-relative. Home-side target paths must be explicit and start with ~/, including symlinks[].target, skillSymlinks[].targetRoots[], and staleSymlinkCleanup[].targetDir.

The JSON schema at schemas/agent-config.schema.json is generated from the package source. Run mise run agent-config:schema:build after changing the schema, or mise run agent-config:schema:check to verify it is current.

Requires the claude CLI. Skipped gracefully if it is missing.

Requirements

  • Bun 1.3+

License

This is a personal configuration repository. Feel free to use it as inspiration for your own setup, but there are no guarantees it won't teach your agents some questionable habits.