claudemods

All Claude Code modstylergraydev/cc-mods

goal-anchor

A Claude Code mod in tylergraydev/cc-mods

Anchors the session's goal, counts turns spent away from it, tracks unanswered questions, and nudges Claude back

review UI rewrite

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

To install it, open the repository and follow the author’s setup instructions. Mods need Claude Code 2.1.287 or later.

Access

L2 Writes or runsdrives Claude, writes the prompt box, reads mod state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt, every tool call
Hooks
session.start, session.end, prompt.submit, turn.start, tool.call, turn.complete, prompt.compose, command.run {command=goal}, command.run {command=goal-anchor}, ui.render {component=AbovePrompt}
API calls
$.clock.after, $.command.register, $.model.complete, $.prompt.fill, $.state.get, $.state.set, $.ui.resolve, $.ui.status, $.ui.toast
Validation
Passed with warnings
Scanned revision
9ba7c8a3f065
UI rewrite review
UI hook source contains control-character strings. Review any values passed to next() as rewritten props.text; the scanner does not trace whether these strings reach that call. goal-anchor/hooks/anchor.ts:91

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 tylergraydev/cc-mods

See all 23 mods from tylergraydev/cc-mods

Badge for your README

Reach badge for goal-anchor Validation badge for goal-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/tylergraydev--cc-mods--goal-anchor-reach.svg)](https://mods.aidojo.si/mods/tylergraydev--cc-mods--goal-anchor/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/tylergraydev--cc-mods--goal-anchor-validates.svg)](https://mods.aidojo.si/mods/tylergraydev--cc-mods--goal-anchor/)