noord-agency

Agentdef — AI skill for Claude Code

AI community

Define an AI agent once, generate the config every tool expects (CLAUDE.md, AGENTS.md, GEMINI.md, .cursor/rules).

How to install Agentdef

This entry records only its repository, not the path inside it, so there is no exact command to give. Open noord-agency/agentdef and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentdef does

Define an AI agent once, generate the config every tool expects (CLAUDE.md, AGENTS.md, GEMINI.md, .cursor/rules). Clean-room, built on open-gitagent (MIT).

Alternatives in AI

  • Flow Define — Multi-AI requirements scoping using Codex and Gemini CLIs (Double Diamond Define phase) 2.8k ★
  • Agent Rules Books — AGENTS.md rules / skills for AI coding agents: Codex, Cursor & Claude Code 2.6k ★
  • Alphacode — Free MIT AI coding agent — no API key needed 203 ★

README

agentdef

**Define an AI agent once. Generate the config every tool expects.**

[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) [![format-drift watch](https://github.com/noord-agency/agentdef/actions/workflows/format-watch.yml/badge.svg)](https://github.com/noord-agency/agentdef/actions/workflows/format-watch.yml)

_A clean-room reimplementation built on the design of [open-gitagent](https://github.com/open-gitagent/gitagent) (MIT), scoped to the two instruction formats that matter in practice and extended with a format-drift watcher._

agentdef turns one agent definition into the instruction file each AI coding tool reads, so your agent's identity, rules, and skills stay consistent across every tool, and you are never locked into a single vendor.

npm install -g @noord-agency/agentdef

agentdef adapters set claude-code cursor   # once per machine: choose your tools
agentdef init                              # once per repo: install hooks + first sync

The idea

Write your agent once:

agent.yaml      name, description, model, extends
SOUL.md         identity, voice, persona
RULES.md        constraints and operating rules
skills/         one folder per skill, each with a SKILL.md
knowledge/      optional knowledge docs (OKF frontmatter), indexed, never copied

agentdef generates whatever each tool reads from that single source. No parallel copies to maintain, no drift between tools.

The generated files (`CLAUDE.md`, `AGENTS.md`, `GEMINI.md`, `.cursor/rules/`) are build artifacts: gitignore them, never hand-edit them (the next sync overwrites them), and edit the sources above instead. They're outputs, not sources, AGENTS.md included.

Supported tools

agentdef generates configs by tool name. Set the name of the tool you actually use, in `.agent-adapters` or via `agentdef adapters set `:

Adapter Instruction file Skills dir
claude-code (alias claude) CLAUDE.md `.claude/s