nesnilnehc/ai-cortex/generate-agent-entry

Claude Code and agent skill by nesnilnehc/ai-cortex

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Write or revise AGENTS.md with project identity, authoritative sources, behavioral expectations and verified loading entries for adopted workflows. Use when creating, auditing or revising a project's agent entry, including AI Cortex adoption.

Install

npx vskill@latest install nesnilnehc/ai-cortex/generate-agent-entry

SKILL.md

The same SKILL.md was published earlier as nesnilnehc/ai-cortex/generate-agent-entry.

Skill: Generate Agent Entry

Purpose

Write or revise AGENTS.md at the repository root according to the "Output Contract" section below, so that when an agent meets the project it holds an explicit project identity, authoritative sources, and behavioural expectations, and acts consistently and predictably. The output contract is embedded in this SKILL.md, so a single load supplies the whole spec and the steps.


Core Objective

Primary goal: produce a compliant AGENTS.md that establishes project identity, authoritative sources, and behavioural expectations for AI agents.

Success criteria (all applicable items must be met):

  1. ✅ Authoring only — AGENTS.md exists: the file is written to the repository root and committed to version control; an audit leaves the file unchanged
  2. ✅ The three core elements are present: the project identity, authoritative sources, and behavioural expectations sections all exist
  3. ✅ Seven sections complete: opening, project identity, authoritative sources, behaviour, discovery/loading summary, language/communication, reference table
  4. ✅ Actionable behaviour: the behavioural expectations pair "must", "should", or "must not" with actionable items
  5. ✅ Reference table complete: covers the AGENTS.md format source, the entry raw URL and project-specific entry contract where available, usage/installation, and the entry index
  6. ✅ Contract compliance: the output follows the embedded output contract's structure and content requirements

Acceptance test: can an AI agent read this AGENTS.md and learn what the project is, where the authoritative sources are, and how to act when using the project?


Scope Boundaries

This skill does:

  • Write a new AGENTS.md from scratch
  • Revise an existing AGENTS.md into compliance
  • Review AGENTS.md against the output contract
  • Generate AGENTS.md from the embedded contract spec

This skill does not do:

  • Write the README (use "generate-standard-readme")
  • Bootstrap a full project docs/ structure (taken on by the AgentFabric runtime or a human, per docs/ARTIFACT_NORMS.md)
  • Refine skill design (use "refine-skill-design")
  • Write other document types (out of scope)

Handoff point: after authoring, commit AGENTS.md once it passes the self-check; after an audit, return the evidence matrix and revision suggestions without changing the file.


Use Cases

  • New project: add an Agent entry to a repository that has no AGENTS.md; draft the first version from the output contract's recommended structure and sections.
  • Revise an existing entry: audit and complete an existing AGENTS.md (add the missing sections, such as authoritative sources, behaviour, reference table) or fix wording that does not match the contract.
  • Adopt the format elsewhere: another project can use this skill's output contract to generate an AGENTS.md carrying identity, authority, and behaviour, then swap in its own asset types and paths.
  • Compliance check: review an existing AGENTS.md against the contract (§3 sections, §4 content, §6 reference table) and output the revision suggestions.

Behavior

  1. Read the contract first: before acting, read this file's "Output Contract" section and treat it as the single source of truth; do not invent sections or drop recommended elements.
  2. Gather verified inputs: read the repository's README, existing agent instructions, asset registries and language policy for the one-line positioning, asset types and directories, usage path, and primary description language. Identify workflows already adopted by the project or requested by the user; installation alone does not establish adoption. Check whether a raw URL is available from the repository remote. Do not infer commands, paths or policies from names alone; ask only when a required fact cannot be established locally.
  3. Generate section by section: produce or revise AGENTS.md in the order of the contract's §3: opening → project identity → authoritative sources → behavioural expectations → discovery and loading (summary) → language and communication → reference table. For adopted workflows, add a short conditional loading entry under behaviour or discovery, referencing canonical requirements and skip conditions. For AI Cortex UI design, follow the consumer loading guide; verify paths from the target project's asset root, replace placeholders and report missing sources as unresolved. Section titles can be adjusted, but keep the order: identity → authority → behaviour → operations summary → language → reference.
  4. Actionable behaviour: use "must", "should", "must not" (or equivalents) so that every expectation is actionable; each item can cite a spec or a document. Do not paste whole specs or documents into AGENTS.md; index and summarise only. Check current rules, guides and accepted decisions for important constraints a newcomer might reasonably mistake for a defect and undo. If one exists, add a brief explanation and a link to its defining source in the existing authority or behaviour section. Verify it remains in force, following a superseding source where necessary; do not turn an outdated decision into a current obligation. When none exists, add no empty section. This does not require creating an ADR or copying its rationale into the entry.
  5. Complete reference table: include the AGENTS.md format source, this entry's raw URL (where applicable), the project-specific entry contract (where one exists), usage and installation, and the entry index; use relative paths or resolvable URLs. Mark an unavailable project-specific source N/A with a reason instead of inventing it.
  6. Verify item by item: give each applicable requirement in the Output Contract's §3–§6 its own PASS, FAIL or N/A row with the exact AGENTS.md line or section that supports the verdict. Check substance as well as headings: project identity, authoritative links, actionable expectations, section order, language, and every reference-table row. Explain each N/A; do not mark a missing item as passed from an overall impression. Check local relative links against the filesystem and run available repository documentation checks. If a check cannot run, report which item remains unverified.
  7. Check change impact and finish: when editing, inspect the diff and search living repository documents for references to changed AGENTS.md section numbers or headings, including text that mentions AGENTS.md with § or a heading anchor; update stale references, leaving immutable records intact. Re-run the item-by-item check after repairs. For an audit-only request, return the evidence matrix and revision suggestions without editing. For authoring, commit only after every applicable item and check passes.

Input & Output

Input
  • One-line positioning: what the project is (e.g. "an agent-first, governance-ready capability inventory").
  • Top-level assets and directories: asset types (e.g. skills), directories, spec paths; where a type does not exist, say "none" or leave it out.
  • Optional: the AGENTS.md raw URL, an excerpt of an existing AGENTS.md or README (for a revision), the primary description language (e.g. English).
Output
  • Authoring: a complete AGENTS.md that satisfies the output contract (or a diff / the full revised text), the verification matrix, and the checks run.
  • Audit: a verification matrix against each applicable requirement in the contract's §3–§6, plus revision suggestions; do not edit the file. Use Requirement | Status | Evidence | Action, citing file lines or sections for each verdict and explaining every N/A.

Restrictions

Hard Boundaries
  • Do not leave the contract: do not mark a section the contract does not call for as "required", and do not drop any of the seven recommended section types without good reason.
  • Do not paste whole specs: do not paste whole spec content into AGENTS.md; summarise and link only.
  • No vague behaviour: do not use "if possible", "as appropriate", and the like; use "must", "should", "must not" (or equivalents).
  • Do not omit the reference table: the table must carry the AGENTS.md format source, usage/installation, and applicable project-specific entry contract and index; mark unavailable project-specific sources N/A rather than inventing them.
Skill Boundaries (avoid overlap)

Do not do these (other skills handle them):

  • Write the README file: create or update README.md → use generate-standard-readme
  • Bootstrap the full project documentation: set up the complete documentation structure → stood up by the AgentFabric runtime or a human, per docs/ARTIFACT_NORMS.md
  • Refine skill design: review or refactor SKILL.md files → use refine-skill-design
  • Write other document types: API docs, user guides, tutorials → out of scope

When to stop and hand off:

  • The user says "AGENTS.md looks good" or "approved" → the skill is done; hand off to the next documentation task
  • The user asks "can you write the README too?" → hand off to "generate-standard-readme"
  • The user asks "can you set up all the project documentation?" → hand off to the AgentFabric runtime (which acts per docs/ARTIFACT_NORMS.md)
  • The user asks "can you review this skill?" → hand to "refine-skill-design"

Self-Check

Core Success Criteria (all applicable items must be met)
  • [ ] Authoring only — AGENTS.md exists: the file is written to the repository root and committed to version control; skip this item for an audit-only request
  • [ ] The three core elements are present: the project identity, authoritative sources, and behavioural expectations sections all exist
  • [ ] Seven sections complete: opening, project identity, authoritative sources, behaviour, discovery/loading summary, language/communication, and reference table
  • [ ] Actionable behaviour: the behavioural expectations use "must", "should", or "must not" on actionable items
  • [ ] Reference table complete: covers the AGENTS.md format source, the entry raw URL and project-specific entry contract where available, usage/installation, and the entry index
  • [ ] Contract compliance: the output follows the embedded output contract structure and content requirements
  • [ ] Item evidence: every applicable §3–§6 requirement has a PASS or FAIL with a locator; each N/A has a reason
Process Quality Checks

This is the start of the file. Read the full SKILL.md on GitHub.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
7
Repository forks
3
7-day trend score
15

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/nesnilnehc/ai-cortex/generate-agent-entry/badge)](https://verified-skill.com/skills/nesnilnehc/ai-cortex/generate-agent-entry)

Something wrong with this skill or its page? Tell us.