AGENTS.mdA

AGENTS.md from dannyan/secguard-clang is an AGENTS.md file: the standing instructions coding agents read in that repo.

Install it, pinned
mdr add dannyan/secguard-clang/AGENTS.md@git:20261021.c9b4320

Pins git:20261021.c9b4320 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
AGENTS.md file
Repository
dannyan/secguard-clang
Path
AGENTS.md
Versions recorded
5
Latest version
git:20261021.c9b4320, committed Oct 21, 2026
First version recorded
Aug 26, 2026
Size
11,256 bytes
Repository stars
25
License
Apache-2.0

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# AGENTS.md

This file gives AI coding agents (Codex, Cursor, etc.) the project-specific
guidance they need. It is the cross-tool equivalent of `CLAUDE.md`; the two
are kept in sync. **Read `CLAUDE.md` for the full architecture** — this file
captures the conventions that prevent wasted effort and token burn.

## What This Is

SecGuard-Clang is an AI-augmented C security analyzer. The Go module lives in
**`sgre/`** (module `github.com/DannyAn/secguard-clang`), not the repo root.
The repo root holds extension scaffolding, release tooling, and docs.

## Adding a Vulnerability Type (READ BEFORE ADDING A DETECTOR/SKILL)

When asked to add a new detection — a detector, a planner vuln type, or a
`SKILL.md` — follow **`ADDING_A_VULN_TYPE.md`** (repo root). It is the one
standard: the 6-step checklist, the skill template
(`extension/shared/skills/SKILL_TEMPLATE.md`), and the machine guard
(`TestVulnTypeSkillConsistency` in `sgre/internal/skills/`) that fails the build
if the three parallel type lists (`planner/registry.go`, `skills/vuln_type_skill.go`,
and `extension/shared/skills/*/`) drift apart. Do not invent a new layout or skip a
step — the guard will reject it.

## Build & Test
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add dannyan/secguard-clang/AGENTS.md@sha256:c4d4c37ed902cb0a

The line at the top of this page pins the label git:20261021.c9b4320, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_wg6punlmkkddlaqj.svg)](https://markdownregistry.com/a/art_wg6punlmkkddlaqj)

1 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Aug 26, 2026 and Oct 21, 2026, about one every 14 days.

versioncommittedcommitsizeaudit
git:20261021.c9b4320 latest2026-10-21 c9b4320 11,256 BA view · diff
git:20260915.313a4a42026-09-15 313a4a4 10,690 BA view · diff
git:20260911.a97e12c2026-09-11 a97e12c 10,577 BA view · diff
git:20260904.5b26b012026-09-04 5b26b01 9,783 BA view · diff
git:20260826.498bd7e2026-08-26 498bd7e 7,016 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (11256 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

dannyan/secguard-clang · 25 stars · license Apache-2.0 · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wg6punlmkkddlaqj
GET https://markdownregistry.com/api/v1/resolve?ref=dannyan/secguard-clang/AGENTS.md
GET https://markdownregistry.com/api/v1/blob/c4d4c37ed902cb0acf6a1d3338d4e238a563b4def8187d40b1f1784f152124f7

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.

More from dannyan/secguard-clang

CLAUDE.md CLAUDE.md file
dannyan/secguard-clang · CLAUDE.md
git:20261022.e1e0f1c · audit A · 25 stars
DESIGN.md@extension DESIGN.md file
dannyan/secguard-clang · extension/DESIGN.md
git:20260904.5b26b01 · audit A · 25 stars
argument-type SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/argument-type/SKILL.md · Classify argument-type evidence — an explicit pointer cast passes an incompatible object type to a function parameter…
git:20261017.a78401f · audit A · 25 stars
buffer-overflow SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/buffer-overflow/SKILL.md · Classify buffer overflow evidence — BUFFER_ACCESS events from unsafe memcpy/strcpy/sprintf/strcat calls, array/heap…
git:20261021.a38682b · audit A · 25 stars
crypto-misuse SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/crypto-misuse/SKILL.md · Classify cryptographic misuse evidence — weak algorithms, weak PRNG, and undersized keys. Maps to CWE-327.
git:20261017.3e577be · audit A · 25 stars
dangerous-function SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/dangerous-function/SKILL.md · Classify dangerous-function evidence — a call to a banned libc/runtime function or a non-safe API that must be replaced…
git:20261016.fb3b156 · audit A · 25 stars
data-representation SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/data-representation/SKILL.md · Classify data-representation evidence — a generic/opaque-pointer consumer misinterprets the object representation the…
git:20261017.a78401f · audit A · 25 stars
deadlock SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/deadlock/SKILL.md · Classify deadlock evidence — lock-order inversion and nested locking patterns. Maps to CWE-667.
git:20261016.df7fb32 · audit A · 25 stars
divide-by-zero SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/divide-by-zero/SKILL.md · Classify divide-by-zero / modulo-by-zero evidence — a divisor that is not a provably non-zero constant. Maps to CWE-369.
git:20261017.a78401f · audit A · 25 stars
double-free SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/double-free/SKILL.md · Classify double-free evidence — same variable freed twice. Maps to CWE-415.
git:20261017.a78401f · audit A · 25 stars
format-string SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/format-string/SKILL.md · Classify format string vulnerability evidence — printf-family called with non-literal format argument. Maps to CWE-134.
git:20261019.3855413 · audit A · 25 stars
hardcoded-secret SKILL.md skill
dannyan/secguard-clang · extension/shared/skills/hardcoded-secret/SKILL.md · Classify hardcoded secret evidence — hardcoded passwords, API keys, tokens, and credential persistence. Maps to CWE-798.
git:20261017.a78401f · audit A · 25 stars

Every file in dannyan/secguard-clang

Other files named AGENTS.md

AGENTS.md AGENTS.md file
morluto/rea · AGENTS.md
git:20261015.0e1f0bf · audit A · 352,890 stars
AGENTS.md AGENTS.md file
obra/superpowers · AGENTS.md
git:20260919.5bf4e78 · audit A · 302,424 stars
AGENTS.md AGENTS.md file
affaan-m/ecc · AGENTS.md
git:20261011.412347a · audit A · 284,510 stars
AGENTS.md AGENTS.md file
firecrawl/firecrawl · AGENTS.md
git:20261008.5a75dca · audit A · 194,483 stars
AGENTS.md AGENTS.md file
dietrichgebert/ponytail · AGENTS.md
git:20261008.2a1fe84 · audit A · 170,980 stars
AGENTS.md AGENTS.md file
garrytan/gstack · AGENTS.md
git:20261011.5d64745 · audit A · 137,352 stars
AGENTS.md AGENTS.md file
graphify-labs/graphify · AGENTS.md
git:20260926.98d73fe · audit A · 129,649 stars
AGENTS.md AGENTS.md file
juliusbrussee/caveman · AGENTS.md
git:20260902.d9faebc · audit A · 113,780 stars

Browse by kind, by grade A, or by owner.