Scan your whole stack
From OX Research Newsroom
Are you using agentmd-lint?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.0
agentmd-lint was last scanned on 28 Nov 2026 at version 0.1.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.0 LATEST | 28 Nov 2026 | No rules fired |
| 0.0.0-stage | 28 Nov 2026 | Not shown |
Findings for v0.1.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Zero-dependency CLI linter and sync tool for AI coding agent instruction files (AGENTS.md, CLAUDE.md, GEMINI.md, .cursorrules, .cursor/rules/*, and .github/copilot-instructions.md).
Keep your repository's agent instructions accurate, safe, lean, and aligned across tools—without stale file paths, leaked API keys, or bloated context windows.
Teams using multiple AI coding tools (Codex, Claude Code, Gemini CLI, Cursor, GitHub Copilot) often run into:
AGENTS.md after refactors or file renamesAGENTS.md, CLAUDE.md, GEMINI.md, and .github/copilot-instructions.mdagentmd-lint catches these issues locally and in CI with zero runtime dependencies.
Download the source from GitHub Releases, extract it, and run the CLI with Node.js 18.18 or later. The project has no dependencies to install.
node bin/agentmd-lint.js check /path/to/your/repository
After the npm release, run directly with npx.
npx agentmd-lint
Or install globally:
npm install -g agentmd-lint
check (default)Validate instruction files for broken relative paths, leaked secrets, empty files, oversized token budgets, sync drift, and Cursor rule frontmatter.
agentmd-lint check
agentmd-lint check --strict --max-tokens 3000
agentmd-lint check --recursive --json
syncUse AGENTS.md as your single source of truth and sync it to sibling tool files:
# Preview changes without writing
agentmd-lint sync --dry-run
# Sync to default targets (CLAUDE.md, GEMINI.md, .github/copilot-instructions.md)
agentmd-lint sync
# Sync to specific targets
agentmd-lint sync --targets claude,gemini,copilot,cursor
If a target resolves to the source file, sync exits before writing any targets. Use --dry-run to review intended updates.
initGenerate a starter AGENTS.md tailored to your repository's detected scripts and directory layout:
agentmd-lint init
.agentmdlintrc.json)Add an optional .agentmdlintrc.json in your repository root:
{
"maxTokens": 3500,
"recursive": false,
"ignorePaths": ["docs/generated/", "src/virtual.ts"],
"ignoreRules": [],
"syncSource": "AGENTS.md",
"syncTargets": ["claude", "gemini", "copilot"]
}
syncSource and syncTargets also control the sync-drift check. Set syncTargets to [] to disable drift checking for all targets.
You can also suppress a single line inline inside Markdown:
Planned module: `src/future-module.ts` <!-- agentmd-lint-ignore -->
| Rule | Severity | What it checks |
|---|---|---|
broken-path |
error |
Relative Markdown links or inline code paths that do not exist on disk |
cursor-frontmatter |
error / warning |
Malformed frontmatter or missing descriptions in .cursor/rules/*.mdc |
possible-secret |
error |
Common API keys/tokens accidentally pasted into instruction files |
empty-file |
error |
Instruction file with no content |
large-context |
warning |
Estimated token count exceeds maxTokens (default 4000) |
sync-drift |
warning / info |
Sibling tool files out of sync with AGENTS.md |
Path checks accept relative paths with forward slashes or Windows backslashes. For Markdown links, the check uses the file or directory portion and skips query strings, fragments, and external or absolute destinations. Write link destinations containing spaces as <docs/a guide.md> or use percent encoding.
Cursor frontmatter uses --- delimiters at the top of the file. This basic check supports a flat mapping with plain or quoted scalar values, block text, and simple lists. Quote values with a colon followed by a space, and quote glob patterns that begin with *. A missing or blank description is a warning, including for rule types where Cursor makes it optional. Use --strict to fail on warnings or add cursor-frontmatter to ignoreRules to disable the check.
---
description: "Frontend: component and test conventions"
globs: src/**/*.tsx, tests/**/*.test.tsx
alwaysApply: false
---
Use the shared component library for new UI.
name: Lint Agent Instructions
on: [push, pull_request]
jobs:
agentmd-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npx agentmd-lint check --strict
0: All checks passed (or only warnings/info when --strict is not set).1: One or more errors found, warnings with --strict, invalid CLI arguments, or an invalid repository directory passed to check.See CONTRIBUTING.md. Run the test suite before submitting changes:
npm test
npm run lint:self
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.