Skip to content
Agentmart
Submit a tool

allow

Add a repo to the pr-autopilot auto-trigger allowlist.

Skill by MarcinSufa

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/marcinsufa-allow

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Add a repo to the pr-autopilot auto-trigger allowlist. Use /pr-autopilot:allow <owner/repo> (or no arg for the current repo). The auto-trigger hook only fires for allowlisted repos.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/allow

What's inside

Skill name
allow
Description
Add a repo to the pr-autopilot auto-trigger allowlist. Use /pr-autopilot:allow <owner/repo> (or no arg for the current repo). The auto-trigger hook only fires for allowlisted repos.
License
MIT
Instructions
22 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# /pr-autopilot:allow [owner/repo]

Adds a repository to `~/.pr-autopilot/allowed-repos` so the auto-trigger hook will nudge autopilot on PRs created there.

## Steps

1. Determine the target repo:
   - If an argument `<owner/repo>` was given, use it.
   - Else resolve the current repo: `git remote get-url origin` → parse `owner/repo` (strip `github.com[:/]` prefix and `.git` suffix). If no origin remote, STOP: "Not in a git repo with a github origin — pass an explicit owner/repo."
2. Validate it exists AND get the canonical-cased name: `gh repo view <owner/repo> --json nameWithOwner -q .nameWithOwner`. If it fails, STOP: "Repo <owner/repo> not found or not accessible — check the name / your gh auth." **Use the returned `nameWithOwner` (GitHub's canonical casing) as the value to store** — NOT the raw user-typed argument. The gate script matches the allowlist **case-insensitively**, so casing differences between your `origin` URL and the stored entry are tolerated. Storing GitHub's canonical `nameWithOwner` still keeps the allowlist clean and unambiguous.
3. Ensure the file and dedupe (write the canonical `nameWithOwner` from step 2):
   ```bash
   mkdir -p ~/.pr-autopilot
   touch ~/.pr-autopilot/allowed-repos
   # $CANON is the nameWithOwner from step 2 (e.g. octo-org/my-repo), not the raw input
   grep -qxF "$CANON" ~/.pr-autopilot/allowed-repos || echo "$CANON" >> ~/.pr-autopilot/allowed-repos
   ```
4. Confirm to the user: "Auto-trigger enabled for <owner/repo>. New PRs there will auto-start autopilot (skip with /pr-autopilot:pause; drafts are ignored)." Show the current allowlist: `cat ~/.pr-autopilot/allowed-repos`.

Idempotent: re-running for an already-listed repo is a no-op.

From MarcinSufa/claude-pr-autopilot, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
May 24, 2026 (5 months ago)
Last release
May 28, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from MarcinSufa

Cite this page

allow skill. Agent Mart. https://agentmart.dev/skills/marcinsufa-allow (last updated 2026-10-24)