Skip to content
Back to skills

Pathrule Setup

ASecurity

Set up Pathrule on this machine: the runtime, Local or Cloud, and this project. Use when the user asks to set up, repair or check Pathrule, or when a Pathrule notice says it is not set up.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 19, 2026
ai-agentsrust

Works with

  • mcp

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add pathrule/pathrule --skill pathrule-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pathrule Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pathrule Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pathrule-pathrule-setup/badge)](https://www.skillsdirectory.com/skills/pathrule-pathrule-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pathrule-setup
description: "Set up Pathrule on this machine: the runtime, Local or Cloud, and this project. Use when the user asks to set up, repair or check Pathrule, or when a Pathrule notice says it is not set up."
---

The Pathrule plugin root is the directory two levels above this file (it holds `scripts/`).

1. Run `sh "<plugin root>/scripts/pathrule-setup" plan` (add `--mode local` or `--mode cloud`, and
   `--scope project` when the user wants it for this project only).
2. Show the user every step of the plan.
3. Ask whether they want Pathrule Local (no account) or Pathrule Cloud (sign in) if they have not said.
4. Only after the user explicitly approves, run `sh "<plugin root>/scripts/pathrule-setup" apply --yes`
   with the same flags. Never pass `--yes` without approval, and never install anything yourself.
5. Report the result. Then tell the user to start a new Codex session: Codex asks them to review
   Pathrule's new hooks then (and `/hooks` shows them at any time), and runs them only after they
   trust them. Without trusted hooks Pathrule still works through its MCP tools and skills.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.