Claude Code mod
ask-first
Holds git commit, push, PR merge and PR creation against protected branches, and edits to .claude/settings*.json, behind a Proceed / Cancel question unless your prompt or slash command asked for them; refuses deleting sudoers, authorized_keys or sshd_config and account changes that remove your own access.
Install
/plugin marketplace add Nasrallah-Adel/claude-ask-first
/plugin install ask-first@nasrallah-modsMods install like plugins. Run /reload-plugins or start a new session to load it.
What it can access
- Reach
- L1Reads: reads files, reads env vars, reads mod state, persists state, draws
- Sees
- every prompt, Bash calls, Edit calls, Write calls
- Hooks
session.startcommand.runprompt.submittool.call
From a static scan of the mod's code by awesome-claude-code-mods. It shows what the code asks for, not a security review.
How Claude Code mods work
- A mod is a plugin with a JavaScript or TypeScript module that runs inside Claude Code (version 2.1.287 or later). It can draw panes beside the transcript, a band above the prompt, buttons and toasts, restyle the spinner and tool rows, and watch or rewrite tool calls and prompts.
- It installs like any plugin: add its marketplace with /plugin marketplace add owner/repo, then /plugin install name@marketplace.
- Check what a mod can reach before installing: it runs with your permissions. Reach goes from drawing only, to reading files, to writing files or running processes, to the network. Run claude plugin validate on a clone to list its hooks and calls without running it.
- Turn one off from the Installed tab in /plugin, or start Claude Code with --safe-mode to skip every customization for a session.
Details
- Repository
- Nasrallah-Adel/claude-ask-first
- Folder
.- Marketplace
nasrallah-mods- Author
- Nasrallah Adel
- License
- Apache-2.0
- Last updated
- 9 October 2026
- Listed in
- awesome-claude-code-mods
FAQ
What is ask-first?
Holds git commit, push, PR merge and PR creation against protected branches, and edits to .claude/settings*.json, behind a Proceed / Cancel question unless your prompt or slash command asked for them; refuses deleting sudoers, authorized_keys or sshd_config and account changes that remove your own access. It is a mod for Claude Code, from Nasrallah-Adel/claude-ask-first on GitHub.
What can the ask-first mod access?
Its widest reach is "reads" (reads files, reads env vars, reads mod state, persists state, draws). It sees every prompt, Bash calls, Edit calls, Write calls. Like any mod, it runs with your permissions.
How do I install ask-first?
Inside Claude Code (v2.1.287 or later), run /plugin marketplace add Nasrallah-Adel/claude-ask-first and then /plugin install ask-first@nasrallah-mods.
Is ask-first popular?
Nasrallah-Adel/claude-ask-first has 1 GitHub stars and 0 forks, and is included in 1 curated Claude Code list. It was last updated on 9 October 2026.
More git & github mods
loc-split
RomanHotsiy/claude-mods
Lines changed against main, split into code, comments, tests, docs and generated files, in a row above the prompt that expands into a per-commit table
auto-checkpoint
1Justmalhar/awesome-claude-mods
Snapshots the working tree into hidden git refs at the start of every turn, with /checkpoints to list them and /undo-turn to roll back.
trail
2thnk2wn/trail
Session sidebar of the Jira tickets, PRs, GitHub Actions runs, incidents and docs a session created, changed or mentioned (plus TeamCity builds if you use it), as clickable links, and a status row (model, branch, context, rate limit, resumable session id).
ccsr
1jaencarrodine/ccsr-mod
Claude Code Ship Race: ranked 1v1s on the work you're already doing. Your own Claude scores every commit; most points at the bell wins. Plus the Grind, a board that counts every commit. Needs Claude Code 2.1.287 or later (2.1.286 in the desktop app).
statusline
2iuliandita/mods
A two-row status line in the band above the prompt, in the terminal and in Claude Desktop: model and effort, worktree, branch and counts, lines changed, kube context, PR and issue counts, session name and output style; then context, 5h and 7d rate-limit bars with pace, cache, cost and time. No statusLine script. In a git repo with a GitHub or GitLab remote it runs gh or glab for the PR and issue counts (forge option, on by default).
change-card
1WeaponizedLego/claude-code-mods
A short card that explains what an agent changed on this branch: a headline, a few one-line changes, where to look first and what was not checked
Browse the most popular Claude Code mods, all git & github mods, or the skills and MCP server directories.