always-apply-string Cursor ruleB

always-apply-string from agent-sh/agnix is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add agent-sh/agnix/tests/fixtures/cursor-invalid/.cursor/rules/always-apply-string.mdc@git:20260207.b76df1f

Pins git:20260207.b76df1f in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 13 of 14 checks passed
Kind
Cursor rule
Repository
agent-sh/agnix
Path
tests/fixtures/cursor-invalid/.cursor/rules/always-apply-string.mdc
Versions recorded
1
Latest version
git:20260207.b76df1f, committed Feb 7, 2026
Size
170 bytes
Repository stars
472
License
Apache-2.0

Rule with string alwaysApply.

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

# CUR-008: Invalid alwaysApply type

The alwaysApply field is a quoted string instead of a boolean.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add agent-sh/agnix/tests/fixtures/cursor-invalid/.cursor/rules/always-apply-string.mdc@sha256:d717b47fa3cc9b18

The line at the top of this page pins the label git:20260207.b76df1f, 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_wy6i4pnulrgapn7q.svg)](https://markdownregistry.com/a/art_wy6i4pnulrgapn7q)

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

Versions

The registry has recorded 1 version of this file, committed on Feb 7, 2026.

versioncommittedcommitsizeaudit
git:20260207.b76df1f latest2026-02-07 b76df1f 170 BB view

Audit of the latest version

B  13 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: Size between 200 bytes and 200 KB (170 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

Starting a new one? Use the Cursor rule starter on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

agent-sh/agnix · 472 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_wy6i4pnulrgapn7q
GET https://markdownregistry.com/api/v1/resolve?ref=agent-sh/agnix/tests/fixtures/cursor-invalid/.cursor/rules/always-apply-string.mdc
GET https://markdownregistry.com/api/v1/blob/d717b47fa3cc9b18d538abd209552bc081debd853af49e79e9c05358299b71b2

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: Cursor rules vs AGENTS.md · which agent file does what.

More from agent-sh/agnix

AGENTS.md AGENTS.md file
agent-sh/agnix · AGENTS.md
git:20261104.ed8e564 · audit A · 472 stars
agnix SKILL.md skill
agent-sh/agnix · plugin/skills/agnix/SKILL.md · Use when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'…
git:20261104.ed8e564 · audit A · 472 stars
agnix SKILL.md skill
agent-sh/agnix · skills/agnix/SKILL.md · Use when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'…
git:20261104.ed8e564 · audit A · 472 stars
AGENTS.md@tests/fixtures/agents_md/codex-missing-context AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/codex-missing-context/AGENTS.md
git:20261017.2418425 · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/invalid-markdown AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/invalid-markdown/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/nested AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/nested/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/nested/subdir AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/nested/subdir/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/no-commands AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/no-commands/AGENTS.md
git:20261017.3438b9f · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/no-context AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/no-context/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/no-headers AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/no-headers/AGENTS.md
git:20261017.0b05a90 · audit A · 472 stars
AGENTS.md@tests/fixtures/agents_md/unguarded-platform AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/unguarded-platform/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/valid AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/valid/AGENTS.md
git:20260201.308527c · audit A · 472 stars

Every file in agent-sh/agnix

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