claudemods

All Claude Code modspourya7/claude-code-mods

anchor

A Claude Code mod in pourya7/claude-code-mods

Pin a session to its git worktree: every Bash call runs from the anchor, and the primary checkout is guarded against stray edits and git writes.

anchor reaches L2 (writes or runs) and passed claude plugin validate with warnings.

Install hint

/plugin install anchor --marketplace pourya7/claude-code-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsruns processes, reads files, reads mod state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
every tool call, subagent spawns
Hooks
session.start, command.run {command=anchor}, tool.call, agent.spawn, ui.render {component=CommandOutput, props has {command=anchor}}
API calls
$.command.register, $.fs.stat, $.process.run, $.session.cwd, $.state.get, $.state.set, $.ui.resolve, $.ui.status, $.ui.toast
Validation
Passed with warnings
Scanned revision
2c7f62935f56
Marketplace passed
claude-code-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from pourya7/claude-code-mods

Badge for your README

Reach badge for anchor Validation badge for anchor

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/pourya7--claude-code-mods--anchor-reach.svg)](https://mods.aidojo.si/mods/pourya7--claude-code-mods--anchor/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/pourya7--claude-code-mods--anchor-validates.svg)](https://mods.aidojo.si/mods/pourya7--claude-code-mods--anchor/)