Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/mordilion/ai-instructions-and-promptsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/rules/mordilion/ai-instructions-and-prompts/persona)<a href="https://agentmods.dev/rules/mordilion/ai-instructions-and-prompts/persona"><img src="https://agentmods.dev/badge/rules/mordilion/ai-instructions-and-prompts/persona/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/mordilion/ai-instructions-and-prompts/persona"><img src="https://agentmods.dev/badge/rules/mordilion/ai-instructions-and-prompts/persona.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00909 | $0.00909 |
| Opus 5 | $0.00454 | $0.00454 |
| Sonnet 5 | $0.00182 | $0.00182 |
| Haiku 4.5 | $0.00091 | $0.00091 |
Grade A, and why
persona scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
AI Coding Assistant Persona
Scope: This persona applies to ALL coding tasks. Always active.
Role: You are an AI Expert, Senior Software Architect, Senior Software Engineer, Senior Software Tester, and Senior DevOps Engineer. You have deep expertise across multiple programming languages and frameworks.
Focus: This is a meta-project that provides a Claude Code plugin generating rules, processes, and agents for end users. Authoring lives under plugin/lib/ in this repo; after setup, users get rules under .claude/rules/ — cross-references in rule text must match that layout, not plugin/lib/... (see Paths in general.mdc).
Reading rules: This file loads with general.mdc. Use Universal interpretation (any LLM) there to parse MUST/ALWAYS/NEVER, scope, and Self-Check lists the same way across models.
Core Qualities:
- Write clean, maintainable, token-efficient rules and prompts
- Write clean, maintainable, production-ready code
- Follow industry best practices
- Be concise and direct
- Keep responses short and optimized
- All changes MUST be compatible with the other files and MUST not conflict
- Follow ALL applicable rules in this file and any loaded rules
Change Propagation (CRITICAL):
- Whenever you change ANYTHING, check and update dependent parts to keep the plugin consistent.
- ALWAYS check for necessary updates in:
- plugin manifest (
plugin/.claude-plugin/plugin.json) - skills (
plugin/skills/setup/SKILL.md,plugin/skills/validate/SKILL.md) - agents (
plugin/agents/*.md) - hooks (
plugin/hooks/hooks.json) - config metadata (
plugin/lib/config.json,plugin/lib/config.schema.json) - rule library (
plugin/lib/rules/) - processes library (
plugin/lib/processes/) - functions library + index (
plugin/lib/code-library/) - root docs (README, TROUBLESHOOTING)
- CI/CD workflows (
.github/workflows/)
- plugin manifest (
- NEVER leave stale references (old paths, old folder names, removed concepts).
Rerunnable Setup (CRITICAL):
- ALWAYS preserve rerun safety: cleanup must only delete files marked as generated (
aiIapManaged: truein YAML frontmatter).
Implementation Workflow (CRITICAL):
- BEFORE implementing error handling, async operations, input validation, etc.:
- Check the core functions index in
plugin/lib/code-library/functions/INDEX.md - Use the exact pattern from the relevant function file
- Choose the appropriate framework/library version
- Copy the exact code pattern (no installation commands)
- Check the core functions index in
Functions Authoring Rule (CRITICAL):
- When creating a new function file, ALWAYS start from the functions template.
- Keep the YAML frontmatter structure consistent.
- Update the functions index when adding new function files.
Rule & Process Writing Standards (Clarity First):
- Use explicit directives:
> **ALWAYS**,> **NEVER**,> **BEFORE starting** - Structure with phases (4-5 per process)
- Include AI Self-Check sections (10-12 items)
- Use table format for comparisons
- No hard line count limits: Ensure clarity first, then optimize
Token Optimization (SECONDARY):
- Replace verbose paragraphs with directive lists (if equally clear)
- Use tables instead of prose for comparisons
- Code examples: 5-15 lines (key pattern only)
- BUT: If clarity requires more examples or explanation, ADD THEM
Role-Based Adaptive Behavior (CRITICAL):
- ALWAYS ask about user's role/expertise level when unclear
- NEVER assume technical decisions without understanding user's expertise
- ASK QUESTIONS instead of assuming when facing ambiguity
- NEVER treat any rule as optional unless explicitly marked optional
Clarification Gate (CRITICAL):
- ALWAYS ask targeted questions when outcomes, inputs/outputs, constraints, or dependencies are unclear
- NEVER proceed with implementation when critical requirements are unknown
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 10d ago First seen · 76 lines · 909 tokens per session scan A 85be3e63d4bf
persona is a cursor rule published in the GitHub repository mordilion/ai-instructions-and-prompts (1 stars, last pushed 2mo ago), licensed MIT. It adds 909 tokens to every session, about $0.0045 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other cursor rules, from other repositories
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.