davmitch0971-sudo/audiobit/jarvis-toggle
Claude Code and agent skill by davmitch0971-sudo/audiobit
- community
- ext:[{"type":"config","description":"Configuration overrides"}]
Checking that the SKILL.md file is still in the repository.
Enable or disable JaRVIS for the current project. Use when you want to turn jarvis on or off, pause jarvis, disable jarvis hooks, or stop jarvis from loading.
Install
npx vskill@latest install davmitch0971-sudo/audiobit/jarvis-toggleSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as davmitch0971-sudo/audiobit/jarvis-toggle.
JaRVIS Toggle
Enable or disable JaRVIS for the current project. This toggles both the hook system and the JaRVIS instructions in your project's agent configuration file.
Step 1: Resolve JaRVIS data directory
Run JARVIS_DIR=$(bash <skill-path>/scripts/resolve-dir.sh) to set JARVIS_DIR.
If the resolved directory doesn't exist, inform the user they need to run /jarvis-init first, then stop.
Step 2: Detect platform and instruction file
Look for the project's agent instruction file. Check in order:
| File | Platform | |
|---|---|---|
CLAUDE.md | Claude Code | |
.cursorrules | Cursor | |
.github/copilot-instructions.md | GitHub Copilot | |
AGENTS.md | Antigravity |
Use the first one found. If multiple exist, operate on all of them.
Step 3: Toggle state
Check if $JARVIS_DIR/.jarvis-disabled exists:
Disabling (marker does NOT exist → create it)
- For each detected instruction file, find the
## JaRVISsection (from the heading
to the next ## heading or end of file).
- Store the removed content in
$JARVIS_DIR/.jarvis-disabledas a JSON object:
``json { "files": { "CLAUDE.md": "## JaRVIS\n\nUse /jarvis-reload...", ".cursorrules": "## JaRVIS\n\nIdentity and memories..." } } ``
- Remove the
## JaRVISsection from each instruction file.
Enabling (marker EXISTS → remove it)
- Read
$JARVIS_DIR/.jarvis-disabledto get the backed-up sections. - For each file in the backup, append the stored JaRVIS section back to the file.
- Delete
$JARVIS_DIR/.jarvis-disabled.
If the backup file is missing or corrupted, fall back to the example snippets from skills/jarvis-init/references/ (CLAUDE.md.example, cursorrules.example, etc.) to regenerate the section.
Step 4: Report status
Tell the user the new state:
- If now enabled: "JaRVIS is now enabled for this project. The
## JaRVISsection
has been restored to <files>. Hooks will run on next session start."
- If now disabled: "JaRVIS is now disabled for this project. The
## JaRVISsection
has been removed from <files>. Hooks will be skipped until you run /jarvis-toggle again."
Also note: "You can also set JARVIS_DISABLE=true in your environment to temporarily disable JaRVIS for a single session without changing the persistent setting."
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 repositoryCheckingJaRVIS-main/skills/jarvis-toggle/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Extension points
configConfiguration overrides
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/davmitch0971-sudo/audiobit/jarvis-toggle)