-
Notifications
You must be signed in to change notification settings - Fork 96
Add Anchor plugin (Community / Development & Workflow) #144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -123,6 +123,7 @@ Third-party plugins built by the community. [PRs welcome](#contributing)! | |
| - [Aegis](https://github.com/GanyuanRan/Aegis) - An agentic skills framework & software development methodology that works: planning, TDD, debugging, and collaboration workflows. | ||
| - [Agentizer](https://github.com/Humiris/wwa-transform) - Turn any website into an AI-powered agentfront with split-pane | ||
| - [AgentOps](https://github.com/boshu2/agentops) - DevOps layer for coding agents with flow, feedback, and memory that compounds between sessions. | ||
| - [Anchor](https://github.com/biefan/anchor) - Engineering discipline pack for Claude Code & Codex CLI with task-scope locking, anti-drift braking, condition-based codex review, project-CLAUDE.md pitfall writeback, and PreToolUse hooks that block irreversible bash patterns. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This commit adds Useful? React with 👍 / 👎. |
||
| - [Antigravity Workspace Template](https://github.com/study8677/antigravity-workspace-template) - Multi-agent codebase knowledge graph generator with context-aware planning and automatic scope management — turns codebases into coherent agent workspaces. | ||
| - [Archcore](https://github.com/archcore-ai/plugin) - Gives coding agents the architecture, rules, and prior decisions of the repo via skills, hooks, and MCP — so new changes land where the project says they belong across Claude Code, Cursor, and Codex CLI. | ||
| - [Bring Your AI Migration Auditor](https://github.com/unitedideas/bringyour-mcp) - Read-only Codex plugin for auditing Claude Code to Codex migrations before Codex edits code. Checks AGENTS.md/CLAUDE.md scope, hooks, MCP config, skills, secret references, and validation notes. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "name": "anchor", | ||
| "version": "1.3.2", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CRITICAL: Version mismatch — |
||
| "description": "Engineering discipline pack for Claude Code & Codex CLI: a skill + 11 slash commands + 4 safety hooks that keep AI on-task on long tasks, enforce E2E verification, multi-pass vulnerability scanning, condition-based codex review, and project-CLAUDE.md pitfall writeback. Cross-CLI by design.", | ||
| "author": { | ||
| "name": "biefan", | ||
| "url": "https://github.com/biefan" | ||
| }, | ||
| "homepage": "https://github.com/biefan/anchor", | ||
| "repository": "https://github.com/biefan/anchor", | ||
| "license": "MIT", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The "license": "MIT",
"skills": "./skills", |
||
| "keywords": [ | ||
| "engineering-discipline", | ||
| "skill", | ||
| "hooks", | ||
| "slash-commands", | ||
| "claude-code", | ||
| "codex-cli", | ||
| "anti-drift", | ||
| "autonomous-mode", | ||
| "e2e-verification", | ||
| "pitfall-writeback" | ||
| ], | ||
| "interface": { | ||
| "displayName": "Anchor", | ||
| "shortDescription": "Engineering discipline for AI coding agents — anchor scope, run E2E, write pitfalls back.", | ||
| "composerIcon": "./assets/icon.svg" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| MIT License | ||
|
|
||
| Copyright (c) 2026 biefan | ||
|
|
||
| Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| of this software and associated documentation files (the "Software"), to deal | ||
| in the Software without restriction, including without limitation the rights | ||
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| copies of the Software, and to permit persons to whom the Software is | ||
| furnished to do so, subject to the following conditions: | ||
|
|
||
| The above copyright notice and this permission notice shall be included in all | ||
| copies or substantial portions of the Software. | ||
|
|
||
| THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| SOFTWARE. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # Anchor | ||
|
|
||
| Engineering discipline pack for Claude Code & Codex CLI: a skill + 11 slash commands + 4 safety hooks that keep AI on-task on long tasks, enforce E2E verification, multi-pass vulnerability scanning, condition-based codex review, and project-CLAUDE.md pitfall writeback. | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CRITICAL: Contradictory slash-command counts — this line describes "a skill + 11 slash commands", but line 19 below states the install script copies "the skill + 7 commands". Either the count or the underlying description is wrong. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CRITICAL: Stray closing bold marker at end of first paragraph — |
||
|
|
||
| - **Upstream repo**: https://github.com/biefan/anchor | ||
| - **Release tag**: v1.3.1 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The bundle metadata advertises version Useful? React with 👍 / 👎. |
||
| - **License**: MIT | ||
|
|
||
| ## What's in the bundle | ||
|
|
||
| This is the mirror bundle for awesome-codex-plugins. For the full repo (including hook scripts, references, evals, and install.sh), see the upstream link above. To install: | ||
|
|
||
| ```bash | ||
| git clone https://github.com/biefan/anchor.git ~/anchor | ||
| cd ~/anchor | ||
| ./install.sh | ||
| ``` | ||
|
|
||
| `install.sh` is cross-CLI: it copies the skill + 7 commands to `~/.claude/` and (if codex CLI is on PATH) to `~/.codex/`, and auto-merges hooks into `~/.claude/settings.json` (idempotent, with backup, `--no-hooks` to skip). | ||
|
|
||
| ## What it does | ||
|
|
||
| | Layer | Mechanism | | ||
| |---|---| | ||
| | **Skill (soft rules)** | `SKILL.md` — 7 core rules: clarify intent, lock task scope, read project contracts, smallest-correct-diff, parallelize agents, condition-based codex review, pitfall writeback. | | ||
| | **11 slash commands** | `/ec /lock /pit /scan /done /next /recap /init-claude-md /status /ship /diff /cleanup` | | ||
| | **4 hooks (hard enforcement)** | `SessionStart` injects project state; `Stop` blocks "stop" in autonomous mode while tasks remain; `PreToolUse` blocks irreversible bash patterns (force-push, hard-reset, drop, mkfs, dd-to-device, recursive-777, curl-pipe-bash); `PostToolUse` runs the language-appropriate linter after Edit/Write. | | ||
|
|
||
| ## Validation | ||
|
|
||
| - CI: green (`shellcheck` + `jsonlint` + `install.sh` smoke test on clean Ubuntu) | ||
| - Stress tests: `evals/stress/03-debug-failing-tests` scored 6/1/1 (pass/fail/N/A) via codex-as-judge | ||
| - See [CHANGELOG.md](https://github.com/biefan/anchor/blob/main/CHANGELOG.md) for release notes across v1.0 - v1.3.1 | ||
|
|
||
| ## License | ||
|
|
||
| MIT | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link for "Anchor" points to the external repository. Since a local plugin bundle has been provided in
plugins/biefan/anchor/, the link should point to the local directory to remain consistent with other mirrored plugins (e.g., "Changelog Forge") and to ensure the local metadata and icon are used by the marketplace.