Configure Claude Code, Codex CLI, and Gemini CLI for reduced-approval Ralph automation while enforcing project boundaries and secret denylists.
Works with
Provides two preset permission profiles: repo-scoped (default, safer) and sandbox (full bypass for disposable environments only)
Implements dynamic safety checkpoints via platform-specific hooks that block Tier 1 dangerous operations (rm -rf, git reset --hard, .env access, sudo) at execution time
Supports Claude Code, Codex CLI, and Gemini CL
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionralphmodeExecute the skills CLI command in your project's root directory to begin installation:
Fetches ralphmode from supercent-io/skills-template and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate ralphmode. Access via /ralphmode in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
0
total installs
0
this week
88
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
88
stars
Ralphmode is a cross-platform permission profile for long-running ralph or jeo workflows.
It reduces approval friction, but it is not "allow everything everywhere."
The core rule is simple: widen automation only inside a bounded project or disposable sandbox, and keep secrets plus destructive commands explicitly blocked.
ralphmode keyword detection)The following steps are commands, not descriptions. Execute them in order immediately when
ralphmodeis invoked. Do not skip steps.
Parse the user's invocation:
MODE=sandboxMODE=repo (default, safer)The setup script auto-detects your git root, applies the preset to .claude/settings.json, and creates the safety hook.
# Find the script (checks installed locations)
_RALPHMODE_SCRIPT=""
for _candidate in \
"$(git rev-parse --show-toplevel 2>/dev/null)/.agent-skills/ralphmode/scripts/apply-ralphmode.sh" \
"$HOME/.agent-skills/ralphmode/scripts/apply-ralphmode.sh" \
"$HOME/.claude/skills/ralphmode/scripts/apply-ralphmode.sh" \
"$(pwd)/.agent-skills/ralphmode/scripts/apply-ralphmode.sh"; do
if [[ -f "$_candidate" ]]; then
_RALPHMODE_SCRIPT="$_candidate"
break
fi
done
if [[ -n "$_RALPHMODE_SCRIPT" ]]; then
bash "$_RALPHMODE_SCRIPT" --mode "$MODE"
else
echo "β οΈ apply-ralphmode.sh not found β applying inline (Claude Code only)"
fi
If the script is not found, fall through to STEP 2 (inline application for Claude Code).
Only run this if the script from STEP 1 was not found.
Repo preset (default β for normal development):
python3 - <<'EOF'
import json, os, subprocess
try:
root = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'],
stderr=subprocess.DEVNULL, text=True).strip()
except Exception:
root = os.getcwd()
target = os.path.join(root, '.claude', 'settings.json')
os.makedirs(os.path.dirname(target), exist_ok=True)
try:
existing = json.loads(open(target).read()) if os.path.exists(target) else {}
except Exception:
existing = {}
existing['_ralphmode_previous_permissions'] = existing.get('permissions')
existing['permissions'] = {
'defaultMode': 'acceptEdits',
'allow': [
'Bash(npm *)', 'Bash(pnpm *)', 'Bash(bun *)', 'Bash(yarn *)',
'Bash(python3 *)', 'Bash(pytest *)',
'Bash(git status)', 'Bash(git diff)', 'Bash(git add *)',
'Bash(git commit *)', 'Bash(git log *)', 'Bash(git push)',
'Read(*)', 'Edit(*)', 'Write(*)'
],
'deny': [
'Read(.env*)', 'Read(./secrets/**)',
'Bash(rm -rf *)', 'Bash(sudo *)',
'Bash(git push --force*)', 'Bash(git reset --hard*)'
]
}
with open(target, 'w') as f:
json.dump(existing, f, ensure_ascii=False, indent=2)
print(f'β Repo preset applied to {target}')
EOF
Sandbox preset (only for disposable environments):
python3 - <<'EOF'
import json, os, subprocess
try:
root = subprocess.check_output(['git', 'rev-parse', '--show-toplevel'],
stderr=subprocess.DEVNULL, text=True).strip()
except Exception:
root = os.getcwd()
target = os.path.join(root, '.claude', 'settings.json')
os.makedirs(os.path.dirname(target), exist_ok=True)
try:
existing = json.loads(open(target).read()) if os.path.exists(target) else {}
except Exception:
existing = {}
existing['_ralphmode_previous_permissions'] = existing.get('permissions')
existing['permissions'] = {'defaultMode': 'bypassPermissions'}
with open(target, 'w') as f:
json.dump(existing, f, ensure_ascii=False, indent=2)
print(f'β Sandbox preset applied to {target}')
EOF
HOOK="$HOME/.claude/hooks/ralph-safety-check.sh"
if [[ ! -f "$HOOK" ]]; then
mkdir -p "$(dirname "$HOOK")"
cat > "$HOOK" << 'HOOKEOF'
#!/usr/bin/env bash
CMD=$(echo "$CLAUDE_TOOL_INPUT" | python3 -c \
"import sys,json; print(json.load(sys.stdin).get('command',''))" 2>/dev/null)
TIER1='(rm[[:space:]]+-rf|git[[:space:]]+reset[[:space:]]+--hard|git[[:space:]]+push.*--force|DROP[[:space:]]+TABLE|[[:space:]]sudo[[:space:]]|chmod[[:space:]]+777|\.env|secrets/)'
if echo "$CMD" | grep -qE "$TIER1"; then
echo "BLOCKED: Tier 1 dangerous command detected." >&2
echo "Command: $CMD" >&2
exit 2
fi
HOOKEOF
chmod +x "$HOOK"
echo "β Safety hook created: $HOOK"
else
echo "β Safety hook exists: $HOOK"
fi
After applying, tell the user:
repo or sandbox).claude/settings.Make data-driven prioritization decisions faster
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Prerequisites
Time Estimate
30-60 minutes to see productivity improvements
Steps
Common Pitfalls
β Do
β Don't
π‘ Pro Tips
β Use when
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
β Avoid when
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
supercent-io/skills-template
mattpocock/skills
parcadei/continuous-claude-v3
cursor/plugins
pproenca/dot-skills
ailabs-393/ai-labs-claude-skills
I recommend ralphmode for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in ralphmode β fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Registry listing for ralphmode matched our evaluation β installs cleanly and behaves as described in the markdown.
ralphmode has been reliable in day-to-day use. Documentation quality is above average for community skills.
ralphmode reduced setup friction for our internal harness; good balance of opinion and flexibility.
I recommend ralphmode for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
ralphmode reduced setup friction for our internal harness; good balance of opinion and flexibility.
Registry listing for ralphmode matched our evaluation β installs cleanly and behaves as described in the markdown.
Useful defaults in ralphmode β fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
ralphmode fits our agent workflows well β practical, well scoped, and easy to wire into existing repos.
showing 1-10 of 73