repository-investigation

repository-investigation is a skill for Claude Code, Codex from ageerle/ruoyi-ai. It costs 49 tokens per session (441 once invoked), scanned A, original, MIT.

A repository investigation guide for understanding an unfamiliar codebase before changing it.

In plain words
What is it for?
It helps map project instructions, entry points, related code, tests, side effects, and ownership boundaries before making a change.
Why use it?
It reduces the risk of editing the wrong file or misunderstanding how data and behavior flow through the system.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps map project instructions, entry points, related code, tests, side effects, and ownership boundaries before making a change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ageerle/ruoyi-ai/repository-investigation
About the project

RuoYi AI is a full-stack enterprise platform for building AI assistants and agents that combine language models, knowledge bases, visual workflows, and multiple cooperating agents. Developers and organizations use it to manage model providers, retrieve information from documents, connect tools through MCP, and orchestrate agent workflows. The catalogue includes skills for working with RuoYi AI.

ageerle/ruoyi-ai · 5,847 stars · on GitHub · doc.ruoyiai.chat

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.

Any agent
npx skills add ageerle/ruoyi-ai --skill repository-investigation
Clone the repo
git clone --depth 1 https://github.com/ageerle/ruoyi-ai

Made for: Claude Code, Codex.

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 repository-investigation

README.md
[![agentmods](https://agentmods.dev/badge/skills/ageerle/ruoyi-ai/repository-investigation/github.svg)](https://agentmods.dev/skills/ageerle/ruoyi-ai/repository-investigation)
Your own site
<a href="https://agentmods.dev/skills/ageerle/ruoyi-ai/repository-investigation"><img src="https://agentmods.dev/badge/skills/ageerle/ruoyi-ai/repository-investigation/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 repository-investigation

Your own site · 80×15
<a href="https://agentmods.dev/skills/ageerle/ruoyi-ai/repository-investigation"><img src="https://agentmods.dev/badge/skills/ageerle/ruoyi-ai/repository-investigation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 441 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00049 $0.00441
Opus 5.5 $0.00020 $0.00176
Sonnet 5.5 $0.00010 $0.00088
Haiku 4.5 $0.00005 $0.00044

Measured 3mo ago against content hash 3df7e8d7409f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

repository-investigation 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 3mo 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.

ruoyi-modules/ruoyi-chat/src/main/resources/coding-harness/skills/repository-investigation/SKILL.md · 41 lines

How it starts

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

Repository investigation

Build a focused evidence map before proposing or applying a change. The purpose is to make the first edit land on the real ownership boundary instead of the first matching string.

Workflow

  1. Restate the observable behavior, constraint, and desired outcome in one short internal goal.
  2. Discover repository instructions and the build/runtime entry points.
  3. Search for identifiers, routes, events, configuration keys, and tests before opening large files.
  4. Trace one complete path from input to state transition or side effect and then to its consumer.
  5. Identify persistence, concurrency, authentication, cancellation, and error boundaries that affect the change.
  6. Inspect relevant history only when current code leaves an architectural decision unexplained.
  7. Record a compact evidence map: owning files, data flow, invariants, existing tests, and unresolved assumptions.
  8. Use the evidence map to decide whether the task is simple enough to act directly or needs an explicit plan.

Investigation discipline

  • Prefer targeted search and line ranges over recursively loading whole source trees.
  • Distinguish an interface or prompt claim from a production call site that actually uses it.
  • Verify both writers and readers of persisted or streamed state.
  • For asynchronous behavior, locate lifecycle ownership, queue semantics, cancellation, reconnect, and recovery.
  • For security-sensitive behavior, trace authenticated identity all the way to the resource and side effect.
  • Treat generated files, build output, vendored dependencies, and comments as secondary evidence unless they are the runtime source of truth.

Output to the running task

Keep the result concise and actionable:

  • operative request and constraints;
  • ownership/data-flow map with paths;
  • invariants the implementation must preserve;
  • tests and commands that can prove the result;
  • assumptions that require user input or runtime evidence.

Do not turn the investigation into a generic repository summary. Stop when the evidence is sufficient to make the next decision safely.

Read the full file on GitHub · 41 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. 3mo ago First seen · 41 lines · 49 tokens per session scan A 3df7e8d7409f

Subscribe to this mod's changes

repository-investigation is a skill published in the GitHub repository ageerle/ruoyi-ai (5,847 stars, last pushed 11d ago), licensed MIT. It adds 49 tokens to every session and 441 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

repository-investigation compared with skills from other repositories

repository-investigation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
repository-investigationageerle/ruoyi-aiSkill5.8k11d agoMITA49Claude Code, Codex
wegent-knowledgewecode-ai/WegentSkill895yesterdayApache-2.0A60Claude Code, Codex
knowledge-orgbojieli/ai-agent-bookSkill60kyesterdayApache-2.0A96Claude Code, Codex
rag-pipelinebojieli/ai-agent-bookSkill60kyesterdayApache-2.0A125Claude Code, Codex
memory-rag-poisoning-detectionTencent/AI-Infra-GuardSkill7.8k3d agoApache-2.0A48Claude Code
beautiful-articleConardLi/garden-skillsSkill16k11d agoMITA226Claude Code, Codex
motion-showreelConardLi/garden-skillsSkill16k11d agoMITA107Claude Code, Codex