Logo de Agents Md Entry

Agents Md Entry

Organisation
modem-dev
agents-md-entry

Evaluate an open source project's AGENTS.md and produce a corpus entry for the /agents-md directory. Use when adding a project to the directory, refreshing an existing entry, or running a batch of candidate repositories.

Présentation

Éditeurmodem-dev
Dépôtossrules
Nom de la compétenceagents-md-entry
Étoiles
65
Forks
2
Fichiers inclus
Instructions uniquement
LicenceMIT
Liens
  • Instructions en Markdown

    Un fichier SKILL.md que le modèle charge à la demande : il ne consomme donc des tokens que lorsqu’une demande correspond réellement à la compétence.

  • Compatible avec tous les LLM

    Les compétences IA sont en simple Markdown, et non en code propre à un fournisseur. Elles fonctionnent donc avec GPT, Claude, Gemini, Grok ou un modèle local.

  • Tout dans les instructions

    Tout ce dont le modèle a besoin se trouve dans les instructions : aucun fichier supplémentaire à synchroniser.

  • Open source

    Publiée par modem-dev sur GitHub. Consultez les sources avant de l’installer.

Installation

Installez la compétence IA Agents Md Entry dans TypingMind pour l’utiliser avec n’importe quel LLM, ou ajoutez-la à un autre agent capable de lire SKILL.md.

1

Installer dans TypingMind

TypingMind installe une compétence directement depuis son dossier GitHub : l’application lit SKILL.md, regroupe les fichiers de ressources et enregistre le tout localement.

  1. Ouvrez l’application et accédez à Plugins → Compétences.
  2. Choisissez « Installer depuis GitHub ».
  3. Collez l’URL du dossier de la compétence indiquée ci-dessous, puis confirmez.
    https://github.com/modem-dev/ossrules/tree/main/.claude/skills/agents-md-entry
  4. Activez la compétence dans chaque discussion où vous souhaitez pouvoir l’utiliser.
Plugins → Compétences → Ajouter → Via URL GitHub, puis collez l’URL du dossier et appuyez sur Continuer.
2

Installer dans un autre agent

Tout agent capable de lire le format Agent Skills peut utiliser cette compétence : copiez le dossier dans le répertoire des compétences de cet agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modem-dev/ossrules.git /tmp/ossrules
mkdir -p .claude/skills
cp -r /tmp/ossrules/.claude/skills/agents-md-entry .claude/skills/agents-md-entry
Redémarrez Claude Code après la copie pour que la nouvelle compétence soit prise en compte.

Utilisez cette compétence dans TypingMind

Activez Agents Md Entry dans n’importe quelle discussion TypingMind et le modèle s’occupe du reste. Le nom et la description de la compétence figurent dans le prompt système. Dès qu’une demande correspond, le modèle charge lui-même l’intégralité des instructions : vous n’avez jamais à l’invoquer manuellement, et elle ne consomme aucun token tant qu’elle n’est pas utilisée.

Le modèle charge automatiquement Agents Md Entry dès qu’une demande correspond à cette compétence.

Compatible avec tous les modèles IA

Les compétences IA sont de simples instructions Markdown, et non du code propre à un fournisseur. Ainsi, Agents Md Entry n’est pas lié au modèle pour lequel cette compétence a été conçue. Installez-la une seule fois dans TypingMind et utilisez-la avec GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou un modèle local que vous exécutez vous-même, le tout avec vos propres clés API.

  • Chargée uniquement en cas de besoin

    Le prompt système ne contient que le nom et la description. Les instructions sont récupérées à la première demande correspondante : une compétence inutilisée ne coûte donc rien.

  • Changez de modèle en cours de discussion

    La compétence étant constituée d’instructions et non de code, elle reste fonctionnelle lorsque vous changez de modèle : le nouveau modèle lit le même fichier SKILL.md.

Instructions de la compétence

Voici le contenu de SKILL.md que le modèle charge. Lisez-le avant l’installation : une compétence contient des instructions que votre modèle suivra.

Adding a project to the instruction library

An entry consists of content/projects/<slug>.json, its avatar in public/logos/<slug>.png, and generated pinned documents under public/files/<slug>/. The directory, project pages, and technique filters derive from the corpus; adding a project does not require a new page implementation.

This is written to be run independently, one project per run, so the work can be fanned out. Do not read the other entries before writing yours — the analysis should come from the file in front of you, not from matching the house voice of entries someone else wrote.

Instruction sources

Accept either AGENTS.md or CLAUDE.md. Inspect Git tree modes to distinguish a real symlink from an ordinary file containing an import or prose reference. Resolve symlinks within the same repository commit and analyze the actual target. Set instructionFile to the repository-relative path of the analyzed source (for example CLAUDE.md or .agents/AGENTS.md); omitted means root AGENTS.md. Check .agents/AGENTS.md, .agents/CLAUDE.md, and .claude/CLAUDE.md as well as root files, and inspect the tree for other nested instructions before concluding that a project has none. A folder location alone does not establish precedence. Store references as repository-relative paths, resolving links against the instruction file’s own directory. Use that filename in every fetch, last-change lookup, measurement, and quote check below.

When both files contain independent instructions, retain both. Choose the source for the editorial analysis explicitly; do not combine their measurements or imply that one tool's instructions override another's. sourcePath on a technique can attribute an excerpt to another vendored document at the same commit.

The sync script discovers root and nested instruction files, records symlinks, identical content, and explicit CLAUDE imports, and preserves unavailable targets. A tiny import wrapper is a relationship to its source, not a separate substantive analysis. Never fetch private local files or follow a target outside the snapshot.

The rule that matters most

Every quote is verbatim. Character for character, from the real file, on the repository's default branch. Paraphrase belongs in body, never inside a quote. One misquote makes the whole directory untrustworthy, so the last step below verifies them mechanically rather than by eye.

Voice

Describe what the file does. Do not rate it.

Write thisNot this
"Lists thirteen metaphorical words that may not appear.""Has a brilliant section on plain language."
"The rule names the exact files it applies to.""This is the best example in the collection."
"39 lines: build commands, three directories, two absolute rules.""Proof that a short AGENTS.md can be great."

No superlatives, no ranking against other entries, no "unusually", "genuinely", "clearest", "most". A reader decides whether a technique suits their repo; the entry gives them what it is. steal is the one place that is prescriptive, because a takeaway is advice by definition — keep it actionable and drop the adjectives.

Site copy rules in the root AGENTS.md apply: no em dashes or filler.

Procedure

1. Confirm the repository and get the canonical file

Resolve renames first. sst/opencode now lives at anomalyco/opencode, and denoland/fresh at freshframework/fresh; raw URLs still redirect, so a fetch succeeding does not mean the owner is current. Search the repo to get the current full_name, stargazers_count, language and default_branch.

Fetch from the default branch, not main by habit. Storybook's default is next and its main carried an older file; Omarchy's is quattro.

bash
curl -sSL -o /tmp/<slug>.md \
  "https://raw.githubusercontent.com/<owner>/<repo>/<default-branch>/AGENTS.md"

If the file is under about 40 lines of build commands with nothing else, it is thin material for an entry. Say so rather than padding it.

2. Record the upstream commit

The entry pins the revision it was written against, which is what the "last updated" link points at and what makes staleness detectable later. The REST API is blocked in some environments; a blobless clone is not, and takes seconds:

bash
d=$(mktemp -d)
git clone -q --filter=blob:none --no-checkout --single-branch \
  --branch <default-branch> "https://github.com/<owner>/<repo>" "$d"
git -C "$d" log -1 --format='%H|%cI' -- AGENTS.md
rm -rf "$d"

That gives lastCommit.sha (full 40 characters) and lastCommit.date (convert to UTC ISO 8601). Set evaluatedAt to today's date in YYYY-MM-DD.

3. Measure the file

Every number in file is measured. Never estimate, and never adjust a stale number by eye — re-run this:

bash
pnpm measure:files --file /tmp/<slug>.md

Use the shared measurement command rather than counting fence markers. Fenced code blocks are parsed as Markdown, so opening and closing fences count once. Lines include a final unterminated line; bullet lines count raw - or * list prefixes, not inferred rules. To correct measurements for existing entries at their pinned revisions, run pnpm measure:files --write. This does not change commits or analysis dates; review authored copy that repeats affected counts.

docLinks counts relative links out to other files in the same repo. A high count relative to length is what distinguishes a router from a self-contained file.

4. Read the whole file

Read it end to end before writing anything. The entry's value is that a reader can skip the original, which only holds if you did not skim it.

While reading, look for what this file does that a generic one would not:

  • rules aimed at agent behavior rather than at the codebase
  • a rule with its reason attached, especially where the reason is non-obvious
  • prohibitions, and what happens when the user asks anyway
  • anything about the file's own maintenance, or its precedence against other files
  • limits on the change rather than on the code
  • places the file admits a gap: a slow suite, a blind test, a known footgun

5. Get the avatar

bash
curl -sL -o public/logos/<slug>.png \
  "https://avatars.githubusercontent.com/<owner>?s=160"

Use avatars.githubusercontent.com/<owner>, not github.com/<owner>.png, which can be proxy-blocked. Confirm it is a real PNG with file.

6. Write the entry

Write content/projects/<slug>.json. The filename stem and slug must match.

jsonc
{
    "slug": "ghostty",                    // kebab-case, matches filename and avatar
    "name": "Ghostty",                    // as the project writes it
    "owner": "ghostty-org",               // current GitHub owner
    "repo": "ghostty",
    "tagline": "...",                     // what the project is, one line, for readers who have not heard of it
    "language": "Zig",                    // GitHub's primary language, exact spelling
    "stars": 61058,                       // integer snapshot
    "defaultBranch": "main",
    "lastCommit": { "sha": "<40 chars>", "date": "2026-04-08T17:34:52Z" },
    "evaluatedAt": "2026-09-14",   // the day you wrote this analysis
    "file": { "bytes": 0, "lines": 0, "words": 0, "headings": 0, "bullets": 0, "codeBlocks": 0, "docLinks": 0 },
    "references": [               // documents the file routes to; [] when self-contained
        { "path": "docs/testing.md", "label": "Testing" },
        { "path": "AGENTS.md", "kind": "pattern", "label": "the nearest nested AGENTS.md" }
    ],
    "hook": "...",                        // one sentence, shown in the directory row
    "summary": "...",                     // two or three sentences: what kind of document this is
    "patterns": ["hard-prohibition"],     // ids from the taxonomy, see below
    "techniques": [
        {
            "title": "...",               // names the move, not a verdict on it
            "body": "...",                // two to four sentences: what it does and the reason the file gives
            "quote": "...",               // optional, VERBATIM
            "pattern": "hard-prohibition" // optional, when this technique is an instance of a taxonomy entry
        }
    ],
    "steal": ["..."],                     // three to five takeaways, each actionable in another repo
    "outline": ["..."]                    // the file's own top-level sections, in order
}

Aim for four to six techniques. Fewer than three usually means the file was skimmed; more than seven usually means routine content was included.

hook is the one line most readers see. Make it specific to this file. Good hooks name a number, a structure, or a rule: "42 lines that open with the precedence order between instruction sources." A hook that would fit any project is a wasted row.

7. Choose technique ids

Valid ids are the PATTERNS array in components/agents-md-data.ts. Read it before tagging; the validator rejects unknown ids.

Tag a technique only when the file genuinely does that thing. An over-tagged entry makes the filter useless, which is the one thing the taxonomy is for. If a recurring move has no id and you have seen it in two or more projects, propose adding it to PATTERNS rather than forcing it into a near-match — a new id is a separate, deliberate change, not a side effect of adding a project.

8. Download the files the entry reads

bash
pnpm sync:files -- --slug <slug>

This writes public/files/<slug>/ — a copy of the AGENTS.md and of every reference, taken at the entry's pinned commit, plus a manifest.json and the repository's detected license. The site serves these so a reader can open any of them without leaving the page, and so the file on screen is the same revision the analysis describes.

Never hand-write anything under that directory. It is generated, and the validator fails when it disagrees with the entry.

Read what the run prints. A path reported as not resolving is a finding, not a mistake to correct: it means the AGENTS.md names a document the repository does not contain. Leave the path exactly as the file writes it — the site renders it as unresolved, which is the honest result. Only fix it if you transcribed it wrong in step 6.

9. Verify

bash
npx tsx scripts/validate-agents-md.ts   # schema, slug/filename match, avatar, vendored files, duplicate repos
pnpm typecheck
pnpm build                              # the corpus is read at build time

Then verify the quotes mechanically. Nothing else catches a near-miss:

bash
python3 - <<'PY'
import json, re, sys
slug = "<slug>"
entry = json.load(open(f"content/projects/{slug}.json"))
source = open(f"/tmp/{slug}.md", encoding="utf-8").read()
norm = lambda t: re.sub(r"\s+", " ", t).strip()
bad = 0
for t in entry["techniques"]:
    q = t.get("quote")
    if q and norm(q) not in norm(source):
        bad += 1
        print("NOT VERBATIM:", q[:120])
print("mismatched:", bad)
sys.exit(1 if bad else 0)
PY

The references list

references is the documents the file tells the agent to read: markdown links to other docs, and nested instruction files named in prose (crates/AGENTS.md, .agents/skills/*/SKILL.md). It is not the repo map — a path to source code is navigation, not routing, and does not belong here.

Include .md, .rst and .mdx targets plus any AGENTS.md / CLAUDE.md / SKILL.md. Keep the markdown link text as label only when it says something the path does not. An empty array is a real answer: five of the first sixteen entries route nowhere, and that is what identifies a self-contained file.

Mark a reference "kind": "pattern" when it names a shape rather than one file — "the nearest nested AGENTS.md", "the changed provider's changelog". These have no single copy to download and nothing to open, so give them a label that says what they stand for. A path that merely happens to be broken is not a pattern; leave it as an ordinary reference and let step 8 record it as missing.

Refreshing the corpus

Entries go stale two ways, and only one is mechanical.

Mechanical. Measurements and the upstream commit can be re-derived:

bash
pnpm refresh            # report what changed upstream
pnpm refresh -- --write # apply measurements and commits, then re-download the files

--write re-runs the file sync for you, because moving an entry's pinned commit without re-downloading its files would show one revision of a document beside measurements from another. To check for that drift without changing anything:

bash
pnpm check:files        # every vendored copy still matches its pinned commit

Not mechanical. When the file itself has changed, the techniques and quotes describe a revision that no longer exists. The refresh script lists those entries; each one goes back through steps 4 to 9 above, and evaluatedAt moves to the day the analysis is rewritten. A stale analysis with fresh numbers is worse than either alone, because the numbers make it look current.

The site flags this on its own: isEntryStale compares lastCommit.date against evaluatedAt.

Cadence. Run the refresh monthly. Star counts are deliberately not touched by the script, since the GitHub API is unreachable from some environments and a wrong number is worse than a dated one; update stars and STATS_AS_OF by hand when the whole corpus is refreshed.

Running a batch

One project per run, one JSON file per run. Keep runs independent so a bad entry is one file to fix. Before starting a batch, check content/projects/ for slugs that already exist; the validator also fails on two entries claiming the same repository.

Candidate repositories need usable AGENTS.md or CLAUDE.md instructions on the default branch. Symlinks are supported when their target resolves inside the same repository snapshot. An unavailable target is recorded, not fabricated.

Foire aux questions

À quoi sert la compétence IA Agents Md Entry ?

Evaluate an open source project's AGENTS.md and produce a corpus entry for the /agents-md directory. Use when adding a project to the directory, refreshing an existing entry, or running a batch of candidate repositories.

Pourquoi utiliser Agents Md Entry sur TypingMind ?

Parce que vous l’installez une seule fois pour l’utiliser avec n’importe quel modèle. Agents Md Entry se compose de simples instructions en Markdown plutôt que de code propre à un fournisseur. La même compétence fonctionne donc avec GPT-5, Claude, Gemini, Grok ou un modèle local, et vous pouvez changer de modèle en cours de discussion sans perturber son fonctionnement. TypingMind utilise vos propres clés API : vous payez donc directement les fournisseurs plutôt qu’un abonnement par siège, et vos compétences et discussions restent dans votre propre espace de stockage.

Comment installer Agents Md Entry dans TypingMind ?

Dans TypingMind, ouvrez Plugins → Compétences → Installer depuis GitHub et collez https://github.com/modem-dev/ossrules/tree/main/.claude/skills/agents-md-entry. TypingMind lit le fichier SKILL.md et l’installe sous forme de compétence que vous pouvez activer pour chaque discussion.

Quels modèles d’IA peuvent utiliser Agents Md Entry ?

N’importe quel modèle que vous connectez dans TypingMind. Les compétences IA sont de simples instructions en Markdown, et non du code propre à un fournisseur. GPT, Claude, Gemini, Grok et les modèles locaux peuvent donc tous charger cette compétence lorsqu’une demande lui correspond.

Combien de modèles d’IA puis-je utiliser avec Agents Md Entry ?

Autant que vous le souhaitez. Tant qu’un modèle prend en charge les compétences, vous pouvez utiliser Agents Md Entry avec lui : GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama et bien d’autres, le tout dans TypingMind avec vos propres clés API.

La compétence IA Agents Md Entry est-elle gratuite ?

Oui. Cette compétence est publiée sur GitHub par modem-dev sous licence MIT. Vous ne payez que votre propre fournisseur d’IA pour les tokens utilisés.

Que sont les compétences IA ?

Une compétence IA est un ensemble d’instructions réutilisables qui apprend à un modèle d’IA à accomplir une tâche précise. Elle suit le format ouvert Agent Skills : un fichier SKILL.md contenant un nom et une description, ainsi que les éventuels scripts, modèles de documents ou fichiers de référence dont le modèle peut avoir besoin. Le modèle ne lit les instructions que lorsque votre demande correspond à la compétence. Une compétence installée ne coûte donc rien tant qu’elle n’est pas utilisée.

En quoi les compétences IA diffèrent-elles des plugins ou des serveurs MCP ?

Un plugin ou un serveur MCP fournit au modèle de nouveaux outils à appeler : du code qui s’exécute quelque part et renvoie un résultat. Une compétence IA lui apporte plutôt des connaissances et une méthode : comment aborder une tâche, quelles étapes suivre et à quoi ressemble un bon résultat. Les compétences sont de simples instructions en Markdown. Elles ne nécessitent donc ni serveur, ni clé API, ni environnement d’exécution, et fonctionnent avec n’importe quel modèle.

Tout voir

Créez votre propre espace IA dès maintenant

Abonnez-vous à notre newsletter pour être informé des nouvelles fonctionnalités et des prochains cadeaux à gagner 👇