Skip to content
Nosy

Features

Always on

Four small hooks in the Claude Code plugin speak up on their own. None of them can block or undo a command, and each has an off switch.

The four hooks
HookWhenWhat it doesOff switch
Opening summaryAt session startOne “Psst…” line, one line on what waits on a person if you keep a to-do list, and, at most once a day, one line when a newer Nosy is out (a read of a public version file).Plugin option “Turn off the opening summary”, or NOSY_NO_PSST=1
After-commit nudgeAfter git commit, merge or pullWhich matrix gap the commit may close, the next product decision, the next command. Silent when nothing is new.Plugin option “Turn off the after-commit nudge”, or NOSY_NO_NUDGE=1
Never-rule checkAfter git commit or gh pr createMatches what went in against the never rules in pm/sources.json and tells the agent which rule matched, where.Plugin option “Turn off the never-rule check”, or NOSY_NO_NEVER_CHECK=1
Reference checkWhen the agent finishes an answer or writes a markdown fileChecks every file:line, quote, commit and #N against the repo and GitHub. If one does not hold up, the agent is sent back once to fix or drop it.Plugin option “Turn off the reference check”, or NOSY_NO_CITE_CHECK=1

What they never do

  • Block, stop or undo a shell command. The reference check sends your agent back at most once per answer, as text for the agent.
  • Open a transcript or chat history file. The reference check gets the agent’s last answer as a hook input field.
  • Send your code or text anywhere. Two of them reach the network: the reference check (a read-only gh lookup for each #N; NOSY_CITE_GH=0 turns that off) and the opening summary (at most once a day, a plain GET of a public version file with nothing about you in it; NOSY_NO_UPDATE_CHECK=1 turns that off).

Outside Claude Code: git hooks

Codex, Cursor, Gemini CLI, Copilot, OpenCode and Kiro have no hooks of their own. A git hook needs no agent: its output lands in the result of git commit and git pull, which every agent reads, and it also runs when a person commits. git-hooks install writes a post-commit and a post-merge hook that run the never-rule check, then the after-commit nudge, only in a repo that has pm/sources.json.

npx github:nosy-hq/nosy git-hooks install
npx github:nosy-hq/nosy git-hooks status
npx github:nosy-hq/nosy git-hooks uninstall

An existing hook is kept: Nosy adds its own block to it, and uninstall removes only that block. --dry-run says what would be written and writes nothing. The hook only prints, never fails a commit, sends nothing anywhere and touches nothing but the hooks folder git names (so core.hooksPath and worktrees work). Off for one run: NOSY_NO_GIT_HOOKS=1, or NOSY_NO_NUDGE=1 / NOSY_NO_NEVER_CHECK=1 for one half.

When a newer Nosy is out

A plugin installed from GitHub is not updated for you, so the opening summary says it, at most once a day: “Nosy X is out, you have Y”. In Claude Code, update with two commands, one at a time, then start a new session:

/plugin marketplace update nosy
/plugin update nosy@nosy

If you copied the skill folder (Codex, Cursor and the rest), run npx github:nosy-hq/nosy update. Agents without hooks show the same line when you type /nosy with no command. Update and uninstall.

Turn them off

Each hook has a plugin option (/plugin configure nosy@nosy) and an environment variable. In Claude Code the environment variable wins. To turn off all of it: /plugin disable nosy.

The four hooks come with the Claude Code plugin only. npx github:nosy-hq/nosy install adds none. Other agents can have two of them as plain git hooks: see below.

What it reads

Local files and git. The reference check also makes a read-only gh lookup for each #N it finds. Everything Nosy reads, writes and sends.

Other groups: Inside, Over the fence, Ahead. All features.