rfxn/rdf/r-mode
Claude Code and agent skill by rfxn/rdf
- community
Checking that the SKILL.md file is still in the repository.
Switch the operational mode for the current session.
Install
npx vskill@latest install rfxn/rdf/r-modeSKILL.md
The same SKILL.md was published earlier as rfxn/rdf/r-mode.
Switch the operational mode for the current session.
Usage
/rdf:r-mode [name] Switch to the named mode /rdf:r-mode Show current mode and available modes
Available Modes
| Mode | Description | When to Use | |
|---|---|---|---|
development | Default TDD workflow | Standard feature work, bug fixes, refactoring | |
security | Security assessment | Threat modeling, vuln analysis, hardening | |
performance | Performance audit | Profiling, optimization, bottleneck analysis | |
migration | Version/platform/data migration | Upgrades, platform moves, data transforms | |
refactoring | Behavior preservation | Large restructuring, code movement, API changes | |
debugging | Hypothesis-driven | Bug hunts, incident response, root cause analysis | |
documentation | Read-then-write | README rewrites, API docs, man pages, guides |
Aliases: security -> security-assessment, performance -> performance-audit, dev -> development, refactor -> refactoring, debug -> debugging, docs -> documentation
Behavior
When invoked with a mode name:
- Read the mode context file from
modes/{name}/context.mdin the
RDF repository (resolve aliases per the table above)
- If
.rdf/governance/index.mdexists in the current project,
update the Mode: line to reflect the new mode
- Display a mode switch confirmation as a blockquote callout:
The callout includes:
- Before/after shown as inline code with arrow
- Methodology -- 1-line overview of the mode's approach
- Gate overrides -- what changes from default (italic for emphasis)
- Reviewer focus -- which review passes are elevated
- The mode context is now active for this session. All subsequent
agent dispatches (/rdf:r-build, /rdf:r-verify, /rdf:r-review, etc.) will include the mode context in their prompts
When invoked without arguments:
- Check
.rdf/governance/index.mdfor the current mode - Display current mode with bold label and inline code value:
- Display the Available Modes table (see above)
Mode Context Loading
The mode context file is appended to agent dispatch prompts. It does NOT modify governance files permanently -- it is session-scoped context that changes how agents interpret their existing governance.
Agents affected:
| Agent | Mode Effect | |
|---|---|---|
Spec (/rdf:r-spec) | Research methodology and brainstorming focus change | |
| Planner | Decomposition strategy and phase risk assessment change | |
| Dispatcher | Quality gate overrides applied | |
| Reviewer | Pass weighting and blocking thresholds change | |
| QA | Additional verification requirements per mode | |
| UAT | Scenario scope adjusted per mode | |
| Engineer | Reads mode context for approach guidance |
Examples
Constraints
- Mode switching is session-scoped -- it does not persist across sessions
- Mode does not change project governance files (architecture.md, etc.)
- Mode cannot be set to a name that has no context.md in modes/
- The governance index Mode: line is the only persistent artifact updated
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingadapters/claude-plugin/output/skills/r-mode/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/rfxn/rdf/r-mode)