Agent Meta Prompt — AI skill for Claude Code
Sample meta-prompt to direct LLMs and Agent Harnesses like Claude Code, Codex, OpenCode, Grok Build, Hermes, etc., to operate they way YOU want them to.
How to install Agent Meta Prompt
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mpommrehn/agent-meta-prompt and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Meta Prompt does
Sample meta-prompt to direct LLMs and Agent Harnesses like Claude Code, Codex, OpenCode, Grok Build, Hermes, etc., to operate they way YOU want them to. Includes best practice metaprompts from 3 AI companies plus my preferences as an example.
Alternatives in AI
- Invisible Dots — Open-source, self-hosted alternative to OpenAI Dots, Meta Muse, Grok Bot, Manus Cue and Claude Cowork 31.8k ★
- Repomix — 📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file 22.7k ★
- Open Dots — Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Man 5.5k ★
README
agent-meta-prompt
A collaboration meta-prompt for coding agents, and the record of how it was built from the published prompting guides of Anthropic, Google, and OpenAI. With it: the working habits that grew up around it over a summer of daily use, written so you can copy the ones you want.
It is for two readers. Someone about to work with the author and an agent on a shared codebase, who needs to know how the agent has been told to behave and why. And anyone setting up Claude Code, Codex, or a similar harness for themselves, who would rather start from a tested prompt than from a blank `AGENTS.md`.
What is here
| File | What it is |
|---|---|
META-PROMPT.md |
The prompt itself: role, communication style, skepticism, asking for input, task framing, agentic execution, durable-config discipline, unattended runs, testing and security policy. A placeholder stands where the principal's name goes. |
HOW-IT-WAS-BUILT.md |
The four sources, what was taken from each and what was skipped and why, the calibration decisions, and the version history. |
SESSION-HYGIENE.md |
Context-rot thresholds, the checkpoint prompt, and the rules for gates and delegated work. |
EVOLUTION-LOG.md |
The rule that every project keeps a construction and evolution log, and what an entry holds. |
MACHINE-CONTEXT.md |
One AGENTS.md across several machines: imports instead of symlinks, per-machine notes files, presence checks. |
VOICE-PATTERN.md |
How to give an agent a personal writing voice without publishing the voice: the pattern, not the author's files. |
agent-meta-prompt-EVOLUTION.md |
This repository's own evolution log, from the first commit. |
How to use it
- Copy the XML block from
META-PROMPT.mdinto yourAGENTS.md. Replace{{PRINCIPAL}}with your name and the role line with one sentence about who you are to the agent. - If your harness reads
CLAUDE.md, make that file the single line@AGENTS.md. Claude Code expands the import
Related Skills
HerMax
Ultimate Android AI & Agent Client — Connect to local PC Hermes Agent over LAN or direct to cloud LLMs (Gemini
Poka Bot
Open-source, self-hosted AI agent workspace and alternative to OpenAI Dots, Meta Muse, Grok Bot, Instinct, Man
Owl 1
OWL-1 — a workstation for directing Designpowers AI design agents. Describe what you want, watch the team work
System One Connector
System One MCP connector to evaluate anything fast and cheap. Give your AI agent direct access to models like:
Model Identity Skill
Model-agnostic system prompt that aims to keep LLMs honest about their identity, capabilities, and knowledge c
Stranger Code
Enter the upside down with a Stranger Things themed AI coding TUI powered by deepagents! We add some fun theme
Related Agents
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode
Geo Orchestrator
Orchestrates LibreGEO Grok skills for AI-search readiness — audit, llms.txt, citation, schema, freshness. Use
Opencode Worker
Forwards one scoped task to a model running in OpenCode (Grok, Kimi, GLM, Qwen, DeepSeek, …) through opencode