jarvis-agent-rules

jarvis-agent-rules is a cursor rule for Cursor from Szesnasty/Jarvis. It costs 724 tokens per session, scanned A, original, Apache-2.0.

A set of rules for using Jarvis, an MCP server that provides notes, Jira project data, a knowledge graph, saved sessions, and preferences.

In plain words
What is it for?
Use it to search memories, notes, and Jira issues; inspect notes and linked graph entities; assess sprint risks and blockers; and save notes or preferences.
Why use it?
It tells the agent how to find and save information through Jarvis and prevents it from guessing when a tool result is empty or incomplete.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to search memories, notes, and Jira issues; inspect notes and linked graph entities; assess sprint risks and blockers; and save notes or preferences.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/szesnasty/jarvis/jarvis-agent-rules
Install

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.

Clone the repo
git clone --depth 1 https://github.com/Szesnasty/Jarvis

Made for: Cursor.

Wrote 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.

agentmods badge for jarvis-agent-rules

README.md
[![agentmods](https://agentmods.dev/badge/rules/szesnasty/jarvis/jarvis-agent-rules.svg)](https://agentmods.dev/rules/szesnasty/jarvis/jarvis-agent-rules)
Your own site
<a href="https://agentmods.dev/rules/szesnasty/jarvis/jarvis-agent-rules"><img src="https://agentmods.dev/badge/rules/szesnasty/jarvis/jarvis-agent-rules.svg" alt="Measured on agentmods" height="20"></a>
Per session 724 This file is loaded in full into every session.
When invoked 724 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00724 $0.00724
Opus 5 $0.00362 $0.00362
Sonnet 5 $0.00145 $0.00145
Haiku 4.5 $0.00072 $0.00072

Measured 8d ago against content hash 16ee9d5b6934, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

jarvis-agent-rules 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 8d 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.

docs/jarvis-agent-rules.mdc · 36 lines

How it starts

The opening of the file, as written. The whole thing — 36 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Jarvis MCP — Agent Rules

MCP server jarvis: notes, Jira, knowledge graph, sessions, preferences.

Rules

  • Translate requests into jarvis_* calls automatically. Never ask user for tool names.
  • Prefer tools over guesses. Chain tools when needed. If continuation_token → call jarvis_continue and merge.
  • Never hallucinate tool outputs. Empty → say so, propose next query.

Tools (key params)

Search: search_memory(query,top_k,scope) · search_notes(query,top_k) · search_jira(query,top_k) Notes read: note_read(path) · note_list(folder) · note_outline(path) Notes write: append_note(path,text) · summarize_and_save(content,path,title) · save_preference(category,rule) Jira: jira_sprint_risk(sprint,limit) — all issues + risk + bottlenecks + blocked_count · jira_list_issues(project,status,assignee,sprint,limit) — filtered slice · jira_describe_issue(issue_key) · jira_blockers_of(issue_key) · jira_depends_on(issue_key) · jira_cluster_by_topic(project,sprint,max_clusters) — semantic grouping with issue_count Graph: graph_query(query,top_k) · graph_neighbors(node_id,depth) · graph_entity_detail(node_id) · graph_path_between(from_id,to_id) Sessions: session_recent(limit,days_back) · session_recent_decisions(days_back) · session_tool_history(days_back) Meta: workspace_stats · get_preferences(category) · list_specialists · continue(continuation_token)

Routing

  1. Sprint questionsjira_sprint_risk first. It returns total_issues, status_summary, high_risk_count, blocked_count, bottlenecks. Confidence = high. If blocked_count=0 → zero blockers, do NOT call search_jira("Blocked"). Use list_issues only for filtered slices.
  2. "Zależności/dependencies" → after sprint data, call graph_neighbors on top 2–3 high-risk keys for cross-issue entity connections.
  3. Decisions/historysession_recent_decisions first, fallback search_memory.
  4. Entity/graphsearch_memory then graph_neighbors/graph_path_between.
  5. Avoid redundant calls. If the answer is already in the data — stop and answer.

Read the full file on GitHub · 36 lines

Changes

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.

  1. 8d ago First seen · 36 lines · 724 tokens per session scan A 16ee9d5b6934

Subscribe to this mod's changes

jarvis-agent-rules is a cursor rule published in the GitHub repository Szesnasty/Jarvis (10 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 724 tokens to every session, about $0.0036 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.