spring-ai-rag-demo: Skill for Cursor

.cursor/skills/openspec-explore/SKILL.md

openspec-explore is a skill for Cursor from ly1836/spring-ai-rag-demo. It costs 39 tokens per session (2,280 once invoked), scanned A, a copy of openspec-explore, Apache-2.0.

A mode for thinking through ideas, investigating problems, and clarifying requirements before implementation. It allows code and architecture to be discussed without changing the application.

In plain words
What is it for?
Use it to explore application behavior, architecture, tenant isolation, billing, or front-end interactions, and to create OpenSpec proposals or designs without implementing the feature.
Why use it?
It helps expose assumptions, design options, and unanswered questions before code is written. This is useful when the desired change or its technical shape is still unclear.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is ly1836/spring-ai-rag-demo's own configuration. It tells Cursor how to work on spring-ai-rag-demo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything spring-ai-rag-demo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ly1836/spring-ai-rag-demo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ly1836/spring-ai-rag-demo/main/.cursor/skills/openspec-explore/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ly1836/spring-ai-rag-demo

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 openspec-explore

README.md
[![agentmods](https://agentmods.dev/badge/skills/ly1836/spring-ai-rag-demo/openspec-explore/github.svg)](https://agentmods.dev/skills/ly1836/spring-ai-rag-demo/openspec-explore)
Your own site
<a href="https://agentmods.dev/skills/ly1836/spring-ai-rag-demo/openspec-explore"><img src="https://agentmods.dev/badge/skills/ly1836/spring-ai-rag-demo/openspec-explore/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.

agentmods 80×15 button for openspec-explore

Your own site · 80×15
<a href="https://agentmods.dev/skills/ly1836/spring-ai-rag-demo/openspec-explore"><img src="https://agentmods.dev/badge/skills/ly1836/spring-ai-rag-demo/openspec-explore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,280 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod 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.00039 $0.02280
Opus 5 $0.00019 $0.01140
Sonnet 5 $0.00008 $0.00456
Haiku 4.5 $0.00004 $0.00228

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

Security

Grade A, and why

openspec-explore 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 9d 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.

Origin

This is a copy

94% identical to openspec-explore — 56 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.cursor/skills/openspec-explore/SKILL.md · 302 lines

How it starts

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

Enter explore mode. Think deeply. Visualize freely. Follow the conversation wherever it goes.

IMPORTANT: Explore mode is for thinking, not implementing. You may read files, search code, and investigate the codebase, but you must NEVER write code or implement features. If the user asks you to implement something, remind them to exit explore mode first and create a change proposal. You MAY create OpenSpec artifacts (proposals, designs, specs) if the user asks—that's capturing thinking, not implementing.

This is a stance, not a workflow. There are no fixed steps, no required sequence, no mandatory outputs. You're a thinking partner helping the user explore.


项目 context 识别

本项目是单模块 Spring Boot 应用,OpenSpec 统一在仓库根目录管理。所有 CLI 命令在根目录执行。 change 名称按业务域或能力命名(如 chat-stream-modebilling-monthly-quotadata-access-mybatis-plus-crud),不使用模块前缀。

当话题涉及代码、架构、租户隔离、计费扣费或前端联动时:

  • 读取 openspec/context/spring-ai-rag-demo.md 获取项目专属架构约束
  • 读取 openspec/config.yaml 获取通用 OpenSpec 与编码约束

纯粹的技术探讨可跳过 context 加载。


The Stance

  • Curious, not prescriptive - Ask questions that emerge naturally, don't follow a script
  • Open threads, not interrogations - Surface multiple interesting directions and let the user follow what resonates. Don't funnel them through a single path of questions.
  • Visual - Use ASCII diagrams liberally when they'd help clarify thinking
  • Adaptive - Follow interesting threads, pivot when new information emerges
  • Patient - Don't rush to conclusions, let the shape of the problem emerge
  • Grounded - Explore the actual codebase when relevant, don't just theorize

What You Might Do

Depending on what the user brings, you might:

Explore the problem space

  • Ask clarifying questions that emerge from what they said
  • Challenge assumptions
  • Reframe the problem
  • Find analogies

Investigate the codebase

  • Map existing architecture relevant to the discussion
  • Find integration points
  • Identify patterns already in use
  • Surface hidden complexity

Read the full file on GitHub · 302 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. 9d ago First seen · 302 lines · 39 tokens per session scan A c48b3c29a0fd

Subscribe to this mod's changes

openspec-explore is a skill published in the GitHub repository ly1836/spring-ai-rag-demo (85 stars, last pushed today), licensed Apache-2.0. It adds 39 tokens to every session and 2,280 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to openspec-explore, differing in 56 lines, and is treated as a copy.

Related

Other skills, from other repositories

docker-expert

Expert-level Docker containerization, image optimization, and container orchestration. Use this skill for building efficient Docker images, managing containers, and implementing Docker best practices.

personamanagmentlayer/pcl · 36 tokens

clawrouter

Hosted-gateway LLM router — save 84% on inference costs. A local proxy that forwards each request to the blockrun.ai gateway, which routes to the cheapest capable model across 76 models from OpenAI, Anthropic, Google, DeepSeek, xAI, Z.AI, and more. 7 free open-weight models included. Also exposes realtime market data…

BlockRunAI/ClawRouter · 222 tokens

surf

Use this skill — NOT browser or webfetch — for ALL Surf crypto-data calls. 83 endpoints at localhost:8402/v1/surf/ covering CEX/DEX markets, on-chain SQL over 80+ ClickHouse tables (Ethereum, Base, Arbitrum, BSC, TRON, HyperEVM, Tempo), 100M+ labeled wallets, prediction markets (Polymarket + Kalshi), social/CT…

BlockRunAI/ClawRouter · 148 tokens

phone

Verify phone numbers (carrier + SIM-swap fraud signals) and place AI-powered outbound voice calls via BlockRun's gateway (Twilio + Bland.ai). Trigger when the user asks to look up a number, check fraud risk, buy/rent a phone number, or place an AI voice call. Payment is automatic via x402 from the wallet.

BlockRunAI/ClawRouter · 72 tokens

imagegen

Generate or edit images via BlockRun's image API. Trigger when the user asks to generate, create, draw, make an image — or to edit, modify, change, or retouch an existing image.

BlockRunAI/ClawRouter · 45 tokens

polymarket-trading

Use when the user wants to actually PLACE, manage, or redeem bets on Polymarket (not just read odds — that's the blockrunpredexon data tools). Covers setup (deposit wallet, funding, approvals), buy/sell with confirm gating, positions, redeeming winnings, geoblock handling, and the end-to-end flow.

BlockRunAI/ClawRouter · 76 tokens