Augment Extensions
Reusable augmentation modules for Augment Code AI, with cross-platform distribution to Claude Code, Cursor, Windsurf, and GitHub Copilot.

Augment Extensions is the structural layer between your rule modules and the AI coding tools that consume them. It treats coding standards, domain rules, workflows, and examples as versioned, composable units, and ships them into the native rules surface of every major AI coding tool from a single source of truth. The augx CLI links modules into projects, materializes them into per-tool locations, aggregates them into per-tool single-file rule artifacts, and keeps the whole arrangement coordinated through a manifest that links specs, tasks, rules, and the files they govern.
The repository exists because rule content for AI agents has outgrown the surfaces individual tools provide. Each tool reserves a small budget for instructions the agent sees before it reasons about your code. Augment Code allocates roughly 49,400 characters to .augment/. Cursor, Windsurf, Copilot, and Claude Code each have their own constraints. The modules here live outside those budgets, are loaded on demand, and are emitted into the tool-native shapes those budgets expect, so the same module set can drive every tool without manual duplication.
Current version: 3.6.2. The 3.6.1 release added myTech.Today service information, website and resume links, and a sales contact to the terminal manager’s Exit message. Optional, guided Jev / TypeSafe setup remains available through interactive augx init. See the 3.6.1 release notes.
Table of Contents
Why This Exists
Every AI coding tool ships a “rules” surface: a place where you tell the agent how your project expects it to behave. Augment Code reads .augment/. Claude Code reads CLAUDE.md and .claude/rules/. Cursor reads .cursor/rules/*.mdc. Windsurf reads .windsurfrules and .windsurf/rules/. GitHub Copilot reads .github/copilot-instructions.md and .github/instructions/.
Three problems compound as a project grows:
- Budget. Augment Code limits
.augment/ to roughly 49,400 characters. Comprehensive coding standards, security rules, workflow guidance, and worked examples cannot fit in that budget for any non-trivial project. The other tools have softer limits but the same diminishing-returns curve: the larger the rules file, the less the agent actually applies.
- Duplication. Without a structural layer, teams maintain four or five parallel copies of the same guidelines, one per tool. Edits drift. Tools fall out of sync. A change to a TypeScript naming rule has to be made in five places by hand.
- Context discipline. Rules embedded inline in a giant rules file cannot be selectively loaded, and they mix static guidance with volatile data like task state. The agent ends up parsing prose for state that should come from a live source.
Augment Extensions answers all three. Modules live in augment-extensions/, outside any tool’s rules budget. The augx CLI links the modules a project actually needs, then either aggregates them into the single-file shape each tool expects (augx export) or materializes per-module files into each tool’s per-module location (augx link --mirror). A coordination manifest in .augment/coordination.json tracks which specs are active, which tasks are in flight, which rules govern which files, and which mirror entries were materialized as symlinks versus copies. When the project declares a Beads MCP server, exported artifacts inline a snippet that points the consuming agent at the live task source instead of embedding stale snapshots.
The result: rules are authored once in plain Markdown and JSON, versioned per module, and propagate deterministically to every tool a developer might use.
Quickstart
Choose the installation guide for the environment running your project tools: Windows, Linux, or WSL. Keep Node.js, npm, the global Augx install, and your project commands in the same environment. In WSL, Windows npm can create an augx shim that cannot find Linux node.
Install the CLI globally and link a module:
npm install -g @mytechtoday/augment-extensions
# In the project that will consume the modules
augx init
augx link coding-standards/typescript
augx list --linked
Mirror the module into one or more tools’ native per-module rules locations:
augx link coding-standards/typescript --mirror cursor,windsurf
Or aggregate every currently linked module into one tool’s single-file rules artifact:
augx export --target claude-code
augx export --target all --dry-run # preview without writing
From a clean clone to a working CLAUDE.md, .cursor/rules/augx-coding-standards-typescript.mdc, and .windsurf/rules/augx-coding-standards-typescript.md is four commands.
Linux install and first run
Augx requires Node.js 16 or newer and npm. Check that both are available, install the CLI, and verify it starts:
node --version
npm --version
npm install --global @mytechtoday/augment-extensions
augx --version
augx --v
augx version
augx -h
augx --h
augx --help
If npm reports a permissions error for its global package directory, use a user-owned prefix instead of running npm with sudo:
npm config set prefix "$HOME/.local"
export PATH="$HOME/.local/bin:$PATH"
npm install --global @mytechtoday/augment-extensions
Add the PATH export to your shell startup file so augx remains available in new terminals. If you use a Node version manager that already provides a user-writable global package directory, keep that configuration.
From the project where you want to use the extensions, initialize Augx and link the guidance that fits the project:
cd /path/to/your/project
augx init --no-optional-rules
augx link coding-standards/java
augx link coding-standards/spring
augx link workflows/agent-engineering
augx list --linked
Windows install and first run
Use Windows PowerShell or Windows Terminal for a repository opened with Windows tools. Augx requires Node.js 16 or newer and npm. Confirm that Node.js, npm, and npm’s global prefix are Windows-native before installing:
node --version
npm --version
node -p "process.platform" # must print win32
Get-Command node, npm | Select-Object Name, Source
npm config get prefix # should be a Windows path
Install Augx with Windows npm and verify the command resolves from Windows:
npm install --global @mytechtoday/augment-extensions
Get-Command augx | Select-Object Name, Source
augx --version
If PowerShell cannot find augx, make sure the Windows npm global directory shown by npm config get prefix is on your user Path, then open a new terminal. Do not install from WSL when you plan to run Augx from Windows tools.
From the Windows repository where you want to use the modules, initialize Augx and link the guidance you need:
Set-Location C:\path\to\your\project
augx init --no-optional-rules
augx link coding-standards/typescript
augx list --linked
WSL install and first run
Run the install from a WSL Linux terminal with Linux Node.js and npm. Windows npm can add a shell wrapper under /mnt/c/Users/.../AppData/Roaming/npm; that wrapper runs node, so it fails with node: not found when Linux Node is missing from the WSL PATH.
Check that the selected tools and npm prefix belong to Linux before installing:
node --version
node -p 'process.platform' # must print linux
command -v npm # must be a Linux path, not /mnt/c/...
npm config get prefix # must be a Linux path, not /mnt/c/...
If node is missing or process.platform prints win32, install a Linux build of Node.js and npm inside WSL using your preferred Linux Node version manager. Ensure its bin directory is on PATH before the imported Windows npm directories. Then install and verify Augx from WSL:
npm install -g @mytechtoday/augment-extensions
command -v augx # should resolve to a Linux path
augx --version
From a checkout of this repository, bash scripts/check-wsl-augx.sh checks the selected Node, npm, global prefix, and Augx command without requiring Augx itself to start. If it reports a Windows path, correct the Linux Node/npm PATH order, reinstall Augx from WSL, and open a new terminal.
The check is also included in the npm package. If command -v augx points into the Windows npm directory, run it directly from that installation:
AUGX_BIN=$(command -v augx)
bash "$(dirname "$AUGX_BIN")/node_modules/@mytechtoday/augment-extensions/scripts/check-wsl-augx.sh"
Link only the modules you need. Run augx gui to browse modules, inspect their content, and manage links interactively. See CLI Reference for initialization, linking, exporting, and other commands.
What’s New in 3.6.1
- Company information on Exit follows
Goodbye! with myTech.Today services, the Omaha and Lincoln service area, experience, and a sales contact.
- Direct service and resume links point to mytech.today and the resume and experience page.
What’s New in 3.6.0
- First-chat Jev check completes automatic setup through owned Codex or Claude Code startup/prompt hooks and the fixed-input
verify_chat MCP tool.
- Understandable saved diagnostics show when the check is waiting, completed, or failed in init and
augx decision doctor.
- Existing request limits cover the one-time public sample, with no silent retry or allowance increase. A successful ordinary chat judgment can also complete the check.
What’s New in 3.5.1
- Windows context recovery preserves selected rule paths across compaction using portable path separators and accepts previously saved Windows paths.
- Clearer Jev chat guidance explains selective use for ambiguous classification and evidence ranking, and identifies the straightforward messages that are skipped.
What’s New in 3.5.0
- Guided Jev onboarding in interactive
augx init offers skip, offline capability, automatic chat, a one-time live probe, or automatic chat plus a live probe. See the Decision Layer guide.
- Host readiness checks report Codex and Claude Code executable availability before host selection, then report project registration integrity and local MCP health independently.
- Explicit consent and request ceilings keep the automatic-chat cumulative ceiling separate from the one-time live-probe ceiling. Automatic chat requires
TYPESAFE_API_KEY and data-class consent; including internal data requires a separate explicit choice. Secrets and restricted data are prohibited.
- Live-probe confirmation shows the synthetic public sample, selected model, and request ceiling before a final default-no confirmation. Offline setup makes no provider call.
- Safe initialization defaults keep Jev optional:
augx init --yes and non-interactive initialization do not enable Jev or provider access. Cancellation, unavailable hosts, and missing credentials preserve base initialization.
Jev runs selectively during chat, when the coding agent needs help classifying an ambiguous task or ranking relevant evidence. Greetings, straightforward questions, exact lookups, and arithmetic are skipped.
When automatic chat is first configured, a separate one-time setup check confirms the Jev connection at the start of the first chat.
For optional automatic Jev judgments in normal chat, configure the native MCP integration once for Codex or Claude Code:
augx link workflows/decision-layer
augx decision setup --host codex --automatic --requests 6 --dry-run
augx decision setup --host codex --automatic --requests 6
augx decision doctor
Use --host claude-code for Claude Code. Review the plan and public-data consent before setup, then restart the host and trust or approve the project. Terminal setup makes no provider calls; live requests need TYPESAFE_API_KEY in the host’s environment. Automatic setup schedules a first-chat Jev connection check. In the first trusted chat, a startup/prompt hook asks the agent to call verify_chat once with a fixed public sample, briefly explain the result, and continue your task. This uses at most one request from the saved automatic allowance. The result is saved and shown by augx decision doctor; successful ordinary chat judgments also complete the check without an extra sample request.
Run augx init in an interactive terminal to use the guided onboarding flow. Its summary shows First-chat Jev connection check: WAITING FOR FIRST CHAT (scheduled automatically) until the chat tool receives a validated Jev response, then shows the saved verification time. A failed check reports its reason and does not silently retry or increase your allowance. This guided setup check confirms the chat connection. During ordinary work, Jev remains selective: the host model chooses eligible ambiguous classification or evidence-ranking decisions. Registration, local health checks, and scripted tests are separate from real chat evidence; see the verification follow-up.
TypeSafe API Key Setup
Obtain a key
- Open the TypeSafe API Keys page. This is a TypeSafe credential, separate from your Codex sign-in or any OpenAI API key.
- Sign in or create a TypeSafe account. If you were invited to an organization, sign in with the invited email address.
- Select the organization that will use the API, open its API Keys section, and create a key. Developers and administrators can create keys. The organization needs available credits. See TypeSafe’s account signup guidance and API key access rules.
- Copy the key and keep it private. Keys belong to the organization, and its members can see and use them. Per-key permissions and spend limits are not available.
Make the key available to your IDE
Augx reads TYPESAFE_API_KEY from the process environment. Set it before starting the IDE or coding host, then restart that application so it inherits the new value. Setting a variable only in an integrated terminal after the IDE has started may not pass it to the IDE’s MCP server.
Windows
-
Open Start and search for Edit environment variables for your account.
-
In User variables, choose New.
-
Set Variable name to TYPESAFE_API_KEY and Variable value to the key. Save the dialog.
-
Close all windows for your IDE and coding host, then open them again. If a fresh process still does not see the variable, sign out of Windows and back in.
-
In a new PowerShell terminal inside the IDE, check presence without displaying the key:
if ([string]::IsNullOrWhiteSpace($env:TYPESAFE_API_KEY)) { 'TYPESAFE_API_KEY is missing' } else { 'TYPESAFE_API_KEY is set' }
Linux
For a Bash login shell, add the variable to your user profile so it is available in future sessions. For Zsh, use ~/.zprofile in steps 2 and 3.
-
Fully quit the IDE and coding host.
-
Open ~/.profile in a text editor and add this line, replacing the placeholder with your key. Do not put the key in a shell command or project file.
export TYPESAFE_API_KEY='paste-your-key-here'
-
Restrict the profile to your account, then load it in a terminal:
chmod 600 ~/.profile
source ~/.profile
-
Launch the IDE from that terminal so it inherits the variable. For VS Code, run code .; use your IDE’s launcher command for another editor. If you launch from the desktop menu instead, sign out and back in first so the desktop session can reload its environment.
-
In the IDE’s integrated Bash terminal, check presence without displaying the key:
if [ -n "${TYPESAFE_API_KEY:-}" ]; then printf 'TYPESAFE_API_KEY is set\n'; else printf 'TYPESAFE_API_KEY is missing\n'; fi
The Linux profile stores the value as plain text outside the repository. Use a local secret manager if you need encrypted storage. Environment variables are available to processes running under your account, so do not share the key or commit it to source control.
After starting the host, run augx decision doctor to check local credential availability. Doctor does not contact TypeSafe; provider connectivity requires a separately confirmed live request. For Codex, restart the project session and check /mcp for augx_decision.
Runtime Compatibility
The package declares Node.js >=16 and builds the CLI as CommonJS. The CLI supports Linux and Windows, including Linux executables and Windows command wrappers for external tools. It loads Chalk synchronously for command output, so it uses Chalk 4, which supports the fluent color and bold methods used by the CLI and can be required from CommonJS on Node 16. Chalk 5 is ESM-only and fails when loaded by this CommonJS entry point on Node 16. Inquirer remains on version 9 and is loaded with native dynamic import only when an interactive prompt is needed. UUID remains unchanged because the CLI startup path does not import it.
Concepts
Modules
A module is a directory under augment-extensions/ with a module.json manifest, a rules/ directory of Markdown files, and optional examples/ and CHANGELOG.md. Modules are versioned per semver, project-agnostic, and addressable by their canonical id (for example coding-standards/typescript, workflows/cross-platform, domain-rules/security).
Four module categories exist:
- coding-standards - language- or framework-specific guidance. Currently shipped: Bash, C, C#, C++, CSS, Django, Fortran, Go, HTML, HTML+CSS+JS, Java, JavaScript, Jest, Perl, PHP, PowerShell, Python, Q, React, Spring Framework and Spring Boot, Swift, TypeScript.
- domain-rules - subject-matter guidance independent of language. Currently shipped: API Design, Database, Design (color), MCP, Security, SEO/Sales/Marketing, Software Architecture, WordPress, WordPress Plugin. The
visual-design/ module ships alongside as a sibling tree with its own vendor and domain palettes.
- workflows - process integration for spec-driven development, task tracking, and multi-tool distribution. Currently shipped: adr-support, agent-engineering, cross-platform, database, decision-layer, mcp, wordpress-plugin.
- examples - canned working examples that illustrate the rules. Currently shipped: design-patterns, gutenberg-block-plugin, rest-api-plugin, woocommerce-extension.
The Agent Engineering workflow covers scoped agents, harnesses, bounded loops, and dependency graphs with validated contracts and runnable deterministic local examples. Link it with augx link workflows/agent-engineering from a checkout or package that contains the module.
The C++ Coding Standards module covers ownership, APIs, errors, the standard library, templates, concurrency, builds, testing, security, and performance. Link it with augx link coding-standards/cpp; its dependency-free examples use C++17. The C module remains independently available for C code.
The C# Coding Standards module covers .NET baselines, APIs, nullability, resource ownership, async cancellation, LINQ, security and testing, with dependency-free net8.0/C# 12 examples. Link it with augx link coding-standards/csharp. In augx gui, search C#, csharp, C sharp or c-sharp; search C++ or cpp for the separate C++ module. Both support details, static source assets and independent link/unlink without a compiler or SDK. Already configured context hooks recognize .cs/.csproj and common C++ source/header paths; linking guidance does not install those hooks.
The Django, Fortran, Java, Jest, Playwright, Spring, and Swift standards extend the C++ and C# modules above. All nine (cpp, csharp, django, fortran, java, jest, playwright, spring, and swift) can be searched, inspected, selected, and linked independently in augx gui; you can also link any of them with augx link coding-standards/<name>.
The Decision Layer workflow adds an optional TypeSafe integration with project-local software setup, eleven typed decision capabilities, bounded local workers, independent artifact verification, recovery, and labeled evaluation. Link it with augx link workflows/decision-layer and explicitly run setup. To enable selective native chat judgments once, use augx decision setup --host codex --automatic --requests 6 (or --host claude-code) after reviewing the dry-run and public-data consent. Restart and trust/approve the project in the host. Saved runtime policy controls requests; ordinary discovery and static exports do not activate it. See the module guide for exact host support, fixtures, verification gaps, limits and removal.
Automatic Rule Refresh in Chat
Augx can refresh relevant linked rule files automatically in Codex and Claude Code chats. Run setup once in the project:
augx context setup --host all
augx context status
This adds project lifecycle hooks to .codex/hooks.json and .claude/settings.json. Trust the Codex project configuration and review its hook, or approve the Claude Code project settings when prompted. Each user prompt is evaluated against linked module metadata, rule headings, referenced rule paths, and supported source paths. All nine coding standards described above are eligible for automatic selection when linked and relevant. Matching current rule files are reread and injected with their canonical module ID, version, source path, and SHA-256 hash. After compaction or resume, the saved module IDs are refreshed before the next model request. This context matcher is separate from the optional Jev / TypeSafe Decision Layer workflow.
In this repository, these generated hook files stay local and are excluded from Git because their commands contain absolute executable and checkout paths. Run setup in each checkout and rerun it after moving the checkout or changing the Node.js installation. Keep shared host configuration in separately maintained files.
Augx stores only a schema version, host, project root, hashed session key, update time, canonical module IDs, selection modes, and relative rule paths for each session under the local user state directory. It does not store prompt text, transcripts, or rule contents. The next refresh checks current links and versions again. It does not fetch remote module updates or change pinned versions. Diagnostics identify missing links, unavailable versions, unsafe paths, unreadable files, and files omitted to stay within the host context budget.
Cursor, Windsurf, and GitHub Copilot remain supported through static export or mirrors and do not have automatic rule refresh from this integration. Remove Augx-owned hooks with augx context disable --host all; edited hooks and unrelated settings are preserved.
Linked vs. mirrored vs. exported
These three verbs are orthogonal and stack:
- Linked means a module is recorded in the project’s
.augment/extensions.json as one of the rule sets this project pulls from. It does not by itself write into any tool’s rules surface.
- Mirrored means the linked module’s
rules/ content has been materialized into one or more tools’ per-module rules locations, one target file (or directory) per module. augx link --mirror writes these.
- Exported means the union of all currently linked modules has been concatenated into the single aggregated rules file each tool expects (
CLAUDE.md, .cursor/rules/augx.mdc, .windsurfrules, .github/copilot-instructions.md). augx export writes these.
A project can use export only, mirror only, both, or neither. The two surfaces never share a target path.
Coordination manifest
.augment/coordination.json is the harmonizer. It stores four kinds of relationships:
- Specs - active OpenSpec proposals or canonical specs, each with the tasks they spawned, the rules that govern them, and the file patterns they affect.
- Tasks - Beads issue ids referenced from specs, with the rules they applied while running.
- Rules - the
.augment/rules/ files that apply to specs and tasks.
- Files - the working-tree files created or modified under a given spec/task pair, with the rules that were in force at the time.
Two additional blocks, export and mirrors, are populated by the CLI when cross-platform features are in use. Both are optional and forward-compatible: loaders ignore unknown keys silently and missing keys preserve prior behavior.
Context engineering, in practice
A consequence of the linked/mirrored/exported split is that the context an agent sees before it reasons can be tuned per tool, per module, and per session. Mirrored modules let you commit one file per module to source control and selectively prune what each tool sees. Aggregated exports keep the agent’s static surface lean by routing volatile data (task state, dependency graphs) to the Beads MCP server instead of inlining it in the rules file. The repo’s defaults push hard in this direction: exports inline an MCP wiring snippet only when a Beads MCP server is declared, and they never embed live task data.
CLI Reference
Every command below is implemented by the augx binary shipped from cli/. Flags marked as defaults appear when omitted.
Project lifecycle
augx init
Initialize Augment Extensions in the current project. Creates .augment/extensions.json, installs the .augment/rules/character-count-management.md and .augment/rules/no-em-dash.md rules, generates .augment/COMMAND_HELP.md with help text for the detected workflow tools, and (when .beads/ is present) wires Beads integration. Interactive init also offers optional Jev setup after base initialization.
augx init # interactive
augx init -y # accept optional-rule defaults, skip Jev without consent
augx init --no-optional-rules # skip optional-rule prompts; Jev remains separate
augx init --from-submodule # initialize when augment-extensions/ is a git submodule
augx init beads # nested subcommand: stand up Beads task tracking
augx self-remove
Safely unlink Augment Extensions from the project. It clears linked-module entries from .augment/extensions.json, prunes Augment recommendations from .vscode/extensions.json when present, writes .augment-removal.log, and preserves the .augment/ directory plus user-generated content. Pair with --dry-run to preview the exact preserved and cleaned paths, or --force to skip confirmation.
augx self-remove --dry-run
augx self-remove --force
augx lifecycle [action]
Inspect and manage the project lifecycle artifact. The command supports status, repair, rollback, report, and uninstall. When run without an action in an interactive terminal, it opens a menu. Use --dry-run to preview changes, --fix <ids> or --all-safe to control repairs, and --report <path> to write a redacted diagnostic report.
augx lifecycle status
augx lifecycle repair --all-safe
augx lifecycle rollback --dry-run
augx lifecycle report --report .augment/lifecycle/reports/latest.json
augx lifecycle uninstall --force
See docs/LIFECYCLE.md for the state model, artifact schema, repair flow, and recovery notes.
augx version
Print the installed Augx CLI version. The augx --version, augx -V, and augx --v options report the same value.
augx version
augx --version
augx --v
augx --help
Print application help. The -h and --h options are aliases, and all three work on Linux and Windows.
augx -h
augx --h
augx --help
Module discovery
Linked-module commands resolve the nearest ancestor .augment/extensions.json within the current Git repository. Nested folders inherit that manifest, while a nested copy with its own manifest uses its own linked-module set.
augx list
List available or linked modules.
augx list # every module shipped by the package
augx list --linked # only modules linked into this project
augx list --json # machine-readable
augx list --versions # include available versions per module
augx show <module> [file-path]
Display module metadata, aggregated content, or a single file inside a module. The same command surfaces three special pseudo-modules: completed (Beads completed tasks), linked (the linked-module set), all (every available module).
augx show coding-standards/typescript
augx show coding-standards/typescript rules/naming-conventions.md
augx show coding-standards/typescript --content --format markdown
augx show coding-standards/typescript --search "naming"
augx show coding-standards/typescript --filter "rules/*.md"
augx show coding-standards/typescript --depth 2
augx show coding-standards/typescript --page 1 --page-size 10
augx show coding-standards/typescript --secure # redact API keys/tokens/passwords in output
augx show coding-standards/typescript --open # open in VS Code editor
augx show linked
augx show all
augx show completed --since 2026-01-01 --priority 1
--no-cache disables the inspection cache for one call. --preview opens a VS Code preview pane instead of the editor.
augx search <keyword>
Search canonical IDs, manifest names, display names, descriptions, types and actual tags case-insensitively. --type restricts to a single category. For example, augx search Jev finds workflows/decision-layer.
augx search typescript
augx search security --type domain-rules
Linking and mirroring
augx link <module>
Link a module into the current project. Records the entry in .augment/extensions.json. With --mirror, materializes the module’s rules/ content into the per-module rules location of one or more target tools.
augx link coding-standards/typescript
augx link coding-standards/typescript --version 2.0.0
augx link coding-standards/typescript --mirror cursor
augx link coding-standards/typescript --mirror cursor,windsurf
augx link coding-standards/typescript --mirror all --verbose
When .augment/coordination.json.export.mirror is true, --mirror is implied and the targets are taken from .export.targets.
augx unlink <module>
Unlink a module from the project. Reverses tracked mirror entries: tracked symlinks are removed and tracked copies whose content still matches the recorded source are removed. Hand-edited copies are left in place with a warning, so user edits are never silently destroyed. --force overrides dependency-based refusal.
augx unlink coding-standards/typescript
augx unlink coding-standards/typescript --force
augx use <module>
Select and load a specific module version, optionally pinning it for the project.
augx use coding-standards/typescript --version 2.0.0
augx use coding-standards/typescript --version 2.0.0 --pin
Module maintenance
augx update
Update the CLI itself, linked modules, or both.
augx update # update linked modules
augx update --module coding-standards/typescript
augx update --cli # update the CLI to latest
augx update --all # update CLI and modules
augx upgrade <module>
Upgrade a specific module to its latest version, with optional dry-run and forced upgrade through compatibility errors.
augx upgrade coding-standards/typescript
augx upgrade coding-standards/typescript --dry-run
augx upgrade coding-standards/typescript --force
augx upgrade coding-standards/typescript --json
augx version-info <module>
Show detailed version information including changelog and compatibility.
augx version-info coding-standards/typescript
augx version-info coding-standards/typescript --json
augx version-info coding-standards/typescript --no-changelog --no-compatibility
augx validate <module>
Validate a module’s structure and module.json metadata.
augx validate coding-standards/typescript
augx validate coding-standards/typescript --verbose
augx migrate
Migrate existing Beads and OpenSpec data into the coordination manifest. A backup is created before any write.
augx migrate
augx export
Aggregate every currently linked module into the native single-file rules artifact of one or more target tools. See Cross-Platform Distribution for the full path table and drift semantics.
augx export --target claude-code
augx export --target cursor,windsurf
augx export --target all
augx export --target claude-code --output build/claude-rules.md
augx export --target all --dry-run
augx export --target claude-code --force # overwrite drift
augx export --target all --verbose
augx export # uses export.targets from coordination.json
Coordination queries
augx coord specs
List all active specs from the coordination manifest.
augx coord specs
augx coord specs --json
augx coord tasks <spec-id>
List the tasks for a specific spec.
augx coord tasks bash-coding-standards
augx coord tasks bash-coding-standards --json
augx coord rules <task-id>
List the .augment/ rules that applied while a task was in flight.
augx coord rules bd-xplat2-1
augx coord rules bd-xplat2-1 --json
augx coord file <path>
Show the coordination record for a specific file: which task created it, which tasks modified it, which specs govern it, and which rules applied.
augx coord file cli/src/adapters/banner.ts
augx coord file cli/src/adapters/banner.ts --json
Sync
The sync subcommands keep the coordination manifest current with Beads and OpenSpec without manual edits.
augx sync beads # sync Beads tasks to coordination manifest
augx sync openspec # sync OpenSpec specs to coordination manifest
augx sync all # sync both
augx sync watch # watch for changes and auto-sync
Catalog
The catalog command generates the CLI catalog from the on-disk module tree. This repository also maintains the curated root index in modules.md.
augx catalog --output cli/MODULES.md
augx catalog --output cli/MODULES.md --check # exit 1 if out of date
augx catalog --output cli/MODULES.md --auto # update only if out of date
The optional catalog-hook uses the default package-root MODULES.md path. This checkout keeps its curated root index as modules.md, so the hook is not installed here.
Rule installation
install-rules re-installs the character-count and em-dash management rules (and any other repo-mandated rule files) into .augment/rules/. Use the hook flags to keep rules current across branch switches and merges.
augx install-rules
augx install-rules --force
augx install-rules --interactive
augx install-rules --setup-hooks --git-hook-type post-checkout
augx install-rules --setup-hooks --git-hook-type post-merge
augx install-rules --remove-hooks
MCP server management
The augx mcp family configures and exercises MCP servers from the CLI.
augx mcp list # list configured MCP servers
augx mcp list --json
augx mcp add beads python --args="-m beads_mcp" --transport stdio
augx mcp remove beads
augx mcp exec beads tasks/list # invoke a tool on a configured server
augx mcp exec beads tasks/get --args '{"id":"bd-init"}' --json
augx mcp discover beads # list tools the server exposes
augx mcp discover beads --json
augx mcp wrap beads tasks/list my-skill # generate a skill wrapper for a tool
augx mcp generate-cli beads ./generated-cli # generate a CLI from a server via mcporter
HTTP transport is not yet supported, use stdio.
MCP configuration changes validate .augment/mcp/servers.json and save through a temporary file before replacing it. If the file is malformed, unreadable, or invalid, augx mcp add and augx mcp remove stop without saving changes. For recovery, keep a separate copy of the damaged file, restore a known-good copy to .augment/mcp/servers.json, and then retry the command. Adding a server may initialize a file only when it is genuinely missing. Valid changes preserve unrelated server entries and other top-level settings.
Skills
The augx skill family manages discoverable skills (small, addressable units of agent capability), separate from rule modules.
augx skill list
augx skill list --category retrieval
augx skill show <skillId>
augx skill validate <skillId>
augx skill search "<query>"
augx skill exec <skillId> [args...]
augx skill inject <skillId> --max-tokens 4000
augx skill load <skillId> <skillId> --max-tokens 8000
augx skill cache-clear
augx skill cache-stats
augx skill create-mcp --name beads --description "Beads tasks" \
--category retrieval --token-budget 2000 \
--tags tasks,beads
augx skill inject and augx skill load honor a token budget, so the agent’s static context surface stays bounded even when several skills are active.
Code analysis
augx code-analysis (aliased augx analyze) runs quality, complexity, security, and dependency checks against the project tree.
augx analyze --dir src --type quality
augx analyze --dir src --type security --severity high
augx analyze --file src/index.ts --type complexity
augx analyze --pattern "src/**/*.ts" --type patterns --format json
augx analyze --dir src --type dependencies --fix
GUI
augx gui # launch the interactive TUI module browser
augx gui --project "path/to/project" # choose project scope explicitly
The terminal manager uses keyboard-operated Inquirer menus. Search module metadata, manage links, link valid collections, browse canonical READMEs/rules/examples/templates, or browse existing skills. Java and Spring are independently selectable: Java covers language/platform practices and Spring covers framework behavior. Agent Engineering details expose its contracts, bounded-loop/graph examples and local validator guidance as static content. Linking guidance never executes these files.
Selections affect only the displayed modules. Review the project scope and proposed changes, then apply or cancel. The menu refreshes discovery and linked state after actions, preserves pinned and unavailable entries outside the selection, and reports partial failures. Up/Down navigates, Space toggles checkboxes, Enter confirms, a toggles all checkboxes and i inverts them. Use Back/Cancel choices to return. Ctrl+C exits the menu; during a decision child it requests cancellation and retains durable accounting.
Choose Exit to print Goodbye! followed by a brief myTech.Today service overview, the company website, the resume and experience page, and [email protected]. The footer uses the canonical company profile.
Open Jev / TypeSafe Decision Workflow for setup planning, explicit installation, doctor, decide, run, resume, evaluate, examples, inventory and ownership-protected removal. Installation always previews the plan first. Offline fixtures are labeled and need no provider credentials; existing valid decision configuration and a compatible optional execution runtime are still required. Live work requires explicit selection, a request budget within policy and confirmation. Credentials come from the environment. Resume accepts the exact digest from the persisted review file and keeps original budgets/deadlines. Unlinking guidance and removing software are separate actions. See terminal workflows and the Decision Layer guide.
Help reference
After augx init, the file .augment/COMMAND_HELP.md is regenerated and contains the comprehensive help text for every workflow tool detected in the project (Augx, Beads, OpenSpec). Agents and humans can read it without invoking any command. It is regenerated each time augx init runs.
The cross-platform feature materializes the same module set into four AI coding tools in addition to Augment Code, through two complementary surfaces. Both are opt-in. Neither touches .augment/ or the canonical module source.
Aggregated export (augx export)
augx export --target <tool> produces one file per target, containing the concatenated rules/ content of every linked module, in alphabetical module-id order.
| Target |
Output path |
Format |
claude-code |
CLAUDE.md |
Markdown |
cursor |
.cursor/rules/augx.mdc |
Markdown with YAML frontmatter |
windsurf |
.windsurfrules |
Markdown |
copilot |
.github/copilot-instructions.md |
Markdown |
all |
all of the above |
per format |
Banner anatomy
Every exported file starts with a five-line HTML-comment banner. For Cursor, the banner sits immediately below the required YAML frontmatter.
<!-- GENERATED BY augx export - DO NOT EDIT -->
<!-- augx-version: 3.6.2 -->
<!-- generated-at: 2026-05-25T21:13:00Z -->
<!-- source-hash: a1b2c3d4e5f60718 -->
<!-- modules: coding-standards/[email protected], workflows/[email protected] -->
| Field |
Meaning |
augx-version |
The version of the augx CLI that produced the file. |
generated-at |
ISO-8601 UTC timestamp, replaced only when content actually changes. |
source-hash |
16 hex characters covering the canonical encoding of { sortedModuleIds, versions, contentDigests, ignorePatterns }. |
modules |
The contributing modules in <id>@<version> form, alphabetical by id. |
The hash is the drift control point: the banner’s recorded source-hash is compared against a hash recomputed from the file’s current body. If they diverge, the file has been hand-edited.
Drift refusal (exit code 3)
If augx export finds the existing target file’s body hash does not match the banner-recorded source-hash, it treats the file as hand-edited and refuses to overwrite. The export exits 3 and the file is preserved. Two resolution paths:
- Edit module sources under
augment-extensions/ and re-run augx export. Preferred; preserves traceability.
- Re-run with
--force. Discards local edits.
--dry-run output
[dry-run] claude-code -> CLAUDE.md (12_345 bytes, 7 modules)
[dry-run] cursor -> .cursor/rules/augx.mdc (13_010 bytes, 7 modules)
No filesystem writes. Exit 0 on success.
Idempotency invariants
- Modules are emitted in alphabetical order of canonical id.
- All generated files use LF line endings regardless of host OS.
- All paths in generated content are forward-slash.
- Timestamps are only refreshed when content actually changes; a re-run with no upstream changes is a byte-identical no-op (exit 0, no writes).
- Glob patterns in
export.ignore use forward slashes and are evaluated relative to each module root.
Exit codes
| Code |
Meaning |
| 0 |
Success (including no-op when nothing changed) |
| 1 |
Usage error (missing or unknown --target, --output with multiple targets, empty --mirror) |
| 2 |
Resolution error (no linked modules, broken module) |
| 3 |
Drift refusal (re-run with --force to overwrite) |
| 4 |
I/O error (cannot read or write, permission denied) |
Safety rules
- Never writes outside the project root.
- Never follows symlinks out of
augment-extensions/ during resolution.
- The Augment Code surface (
.augment/) is never touched.
Per-module mirror (augx link --mirror)
augx link <module> --mirror <tool> materializes a single module’s rules/ content into the per-module rules location of one or more tools. The aggregated augx export artifact and the per-module mirror artifacts never share a path; running both for the same project is supported and common.
| Target |
Per-module path |
claude-code |
.claude/rules/<module>/... (directory, source layout preserved file-for-file) plus a one-line include stub appended to CLAUDE.md |
cursor |
.cursor/rules/augx-<module>.mdc (one file per module, frontmatter generated) |
windsurf |
.windsurf/rules/augx-<module>.md (one file per module) |
copilot |
.github/instructions/augx-<module>.instructions.md (one file per module) |
Module ids use forward slashes (coding-standards/typescript); the materializer collapses the slash to a dash when constructing the per-module segment (coding-standards-typescript).
The Claude Code include stub takes the form:
<!-- augx-include: .claude/rules/coding-standards-typescript/ -->
Materialization strategy
For each rule file in the linked module:
- Compute the destination path under the target tool’s convention.
- Try
symlink(source, destination).
- If
symlink raises EPERM, EACCES, or ENOSYS, fall back to copyFile(source, destination).
- Record
{ tool, sourcePath, targetPath, mode } in .augment/coordination.json.mirrors[<moduleId>], where mode is "symlink" or "copy".
Subsequent invocations consult the recorded mode and skip the symlink attempt entirely, so there is no per-run retry storm on systems where symlink will never succeed.
Windows symlink-to-copy fallback
On Windows without Developer Mode, fs.symlinkSync raises EPERM. The mirror hook catches EPERM, EACCES, and ENOSYS, falls back to copyFile, records mode: "copy" once in .augment/coordination.json.mirrors[<module>], and uses that recorded mode on every subsequent run. Users with Developer Mode enabled (or any non-Windows host) get mode: "symlink" recorded once and reused.
Idempotency and unlink reconciliation
augx link <module> --mirror ... is fully idempotent. On each run, the desired set of (tool, targetPath) tuples is reconciled against the tracked set:
- Tuples in desired AND tracked, source unchanged: left alone.
- Tuples in desired AND tracked, source changed: re-materialized.
- Tuples in desired AND not in tracked: created.
- Tuples in tracked AND not in desired (for example, a renamed source file): pruned.
augx unlink <module> walks the same tracked set in reverse:
- Tracked symlinks pointing at the recorded source are deleted.
- Tracked copies whose content still matches the recorded source hash are deleted.
- Tracked copies whose content has been hand-edited are left in place with a warning.
- The entire
mirrors[<module>] entry is removed when cleanup completes.
This guarantees rename-safe, edit-preserving cleanup. User edits to mirrored files are never silently destroyed.
Coordination block-driven defaults
When --target (export) or --mirror (link) is omitted, augx consults .augment/coordination.json.export for defaults:
export.targets[] provides the default target list for augx export.
export.mirror: true makes augx link run the mirror hook for every entry in export.targets[] without requiring --mirror.
export.ignore[] provides glob patterns excluded from aggregation; defaults to ["**/examples/**"].
augx export # uses export.targets
augx link coding-standards/typescript # mirrors when export.mirror is true
Coordination Manifest Schema
.augment/coordination.json is the structural map of the repository. It is written and read by the CLI; manual edits are tolerated but the CLI may overwrite top-level blocks it owns (mirrors). Unknown top-level keys are preserved on round-trip.
Annotated example:
{
"version": "1.0.0",
"lastUpdated": "2026-05-25T21:13:00Z",
"specs": {
"bash-coding-standards": {
"path": "openspec/changes/bash-coding-standards/proposal.md",
"status": "active",
"relatedTasks": ["bd-0bqd", "bd-0bqd.2"],
"relatedRules": [
"module-development.md",
"character-count-management.md"
],
"affectedFiles": [
"openspec/changes/bash-coding-standards/**/*",
"augment-extensions/coding-standards/bash/**/*",
".augment/coordination.json"
],
"dependencies": []
}
},
"tasks": {
"bd-xplat2-1": {
"specs": ["cross-platform/export-command"],
"rulesApplied": ["module-development.md", "no-em-dash.md"]
}
},
"rules": {
"no-em-dash.md": {
"appliedBy": ["bd-xplat1-3", "bd-xplat2-1"]
}
},
"files": {
"cli/src/adapters/banner.ts": {
"createdBy": "bd-xplat1-3",
"modifiedBy": ["bd-xplat2-6", "bd-xplat4-2"],
"governedBy": [
"cross-platform/export-command",
"cross-platform/mcp-template"
],
"rulesApplied": ["module-development.md", "no-em-dash.md"]
}
},
"export": {
"targets": ["claude-code", "cursor"],
"ignore": ["**/examples/**", "**/CHANGELOG.md"],
"mirror": true
},
"mirrors": {
"coding-standards/typescript": [
{
"tool": "cursor",
"sourcePath": "augment-extensions/coding-standards/typescript/rules/naming-conventions.md",
"targetPath": ".cursor/rules/augx-coding-standards-typescript.mdc",
"mode": "symlink"
}
]
}
}
| Block |
Owner |
Purpose |
specs |
OpenSpec sync / manual |
Active and archived specs with their related tasks, rules, and file globs. |
tasks |
Beads sync / manual |
Task records keyed by Beads id, with the specs and rules each task touched. |
rules |
manual |
.augment/rules/*.md files with their applying tasks. |
files |
manual |
Working-tree files with creator/modifier task ids, governing specs, and applied rules. |
export |
manual |
Defaults for augx export and augx link --mirror. Optional. |
mirrors |
CLI |
Tracked materialization log for augx link --mirror. Do not hand-edit. Cleared by augx unlink. |
Loader rules per the spec:
- Loaders MUST treat missing keys as
undefined.
- Loaders MUST preserve unknown top-level keys when round-tripping.
- Writers serialize keys in alphabetical order at each object level.
- Files end with a trailing newline, two-space indentation, LF line endings.
MCP Integration
The repository treats live task state as something the agent should fetch from a Model Context Protocol server, not parse out of a static rules file. Two configuration surfaces are recognized:
.vscode/mcp.json - the VS Code / Augment Code MCP configuration file.
.augment/mcp/servers.json - the CLI-managed MCP configuration file.
Example .vscode/mcp.json declaring the Beads MCP server:
{
"mcpServers": {
"beads": {
"command": "python",
"args": ["-m", "beads_mcp"],
"env": {
"BEADS_DIR": "${workspaceFolder}/.beads"
}
}
}
}
MCP-first task-context contract
Exported artifacts NEVER embed live task data: no bd- IDs, no statuses, no dependency snapshots, no endpoint URLs. This is enforced by construction. When the project declares an MCP server with id beads in either of the two configuration files above, augx export inlines a single tool-agnostic snippet (loaded from augment-extensions/workflows/mcp/templates/beads.md) directly after the banner. The snippet:
- Names the
beads server and tells the consuming agent to query it for live task state.
- Lists the public operations:
tasks/list, tasks/get, dependencies/list, status/get.
- References
augment-extensions/workflows/beads/ for the day-to-day command guide.
- Contains no IDs, statuses, secrets, or endpoint URLs.
When neither configuration file declares the beads server, the snippet is omitted entirely. Exported files remain static guidance; task state is fetched on demand.
This separation is intentional. The static surface stays small and stable. The volatile surface (open tasks, blockers, dependency graph) is queried from the server when the agent actually needs it. Stale task data never leaks into rule surfaces.
Installing the Beads MCP server
pipx install beads-mcp
# or
pip install beads-mcp
python -m beads_mcp --version
Once installed and declared in .vscode/mcp.json, the Augment Code agent connects to the server automatically. augx mcp list, augx mcp discover, and augx mcp exec exercise the server from the command line.
OpenSpec Integration
The repository uses OpenSpec for spec-driven development. Architectural changes start as a proposal, become a set of spec deltas, decompose into Beads tasks, and archive when complete.
Workflow
- Draft proposal. Create
openspec/changes/<change-name>/proposal.md with motivation, scope, and acceptance criteria.
- Draft spec deltas. Create
openspec/changes/<change-name>/specs/*.md describing ADDED / MODIFIED / REMOVED sections relative to the source-of-truth specs in openspec/specs/.
- Break down into tasks. Create
openspec/changes/<change-name>/tasks.md. Each task corresponds to a Beads issue with a bd- id.
- Implement. Each commit references the relevant task id.
augx sync beads and augx sync openspec keep .augment/coordination.json current.
- Archive. When all tasks close, move
openspec/changes/<change-name>/ to openspec/archive/<change-name>/.
Layout
openspec/
├── project-context.md # Project overview and architecture
├── specs/ # Source-of-truth canonical specs
│ ├── cross-platform/ # export-command, mirror-hook, ...
│ ├── beads/ # naming-convention, ...
│ ├── coding-standards/
│ └── augment-config/
├── changes/ # Active proposals (deltas)
└── archive/ # Completed proposals
Canonical cross-platform specs live under openspec/specs/cross-platform/:
export-command.md - grammar, flags, exit codes, drift detection.
mirror-hook.md - materialization strategy, idempotency, unlink cleanup.
coordination-export-block.md - schema for the export and mirrors keys.
mcp-template.md - canonical Beads MCP snippet contract.
Beads Integration
This repository uses native Beads 1.3.1 with embedded Dolt. The database under .beads/embeddeddolt/ is authoritative. Run bd bootstrap after cloning to recover the published native database.
.beads/issues.jsonl is a generated compatibility export for existing readers, not the task database. Do not hand-edit it or append task updates. Native Beads writes refresh the export. Use bd export --all -o .beads/issues.jsonl when an explicit refresh is needed. Shared Beads settings are stored in .beads/config.yaml; local Dolt identity and storage files are ignored by Git.
Workflow
- Inspect tasks. Use
bd list, bd ready, and bd show <id>.
- Create a task. Run
bd create "Task title" --type task --priority 2.
- Track dependencies. Run
bd dep add <task-id> <blocker-id> --type blocks.
- Work on a task. Run
bd update <id> --status in_progress and add progress with bd comments add <id> "Progress".
- Close a task. Run
bd close <id> --reason "Completed work".
- Synchronize task history. Run
bd sync to exchange Dolt history through the configured Git remote’s refs/dolt/data reference. Git pushes publish repository files separately.
Status lifecycle
| Status |
Meaning |
open |
Created, not yet started. |
in_progress |
Actively being worked on. |
blocked |
Waiting on another task or external dependency. |
closed |
Complete. |
Issue ID naming convention
All Beads issue IDs in this project use the bd- prefix.
| Form |
Pattern |
Examples |
| Standard hash |
bd-<hash> |
bd-a1b2, bd-c3d4 |
| Named |
bd-<name> |
bd-init, bd-rename1 |
| Hierarchical (dot) |
bd-<hash>.<number> |
bd-a1b2.1, bd-a1b2.1.1 |
| Hierarchical (dash) |
bd-<name>-<number> |
bd-rename1-1, bd-prefix1-1 |
The full normative specification is openspec/specs/beads/naming-convention.md. Invalid prefixes are rejected by the validator at scripts/validate-beads-prefix.ps1.
Sync with the coordination manifest
augx sync beads # mirror current Beads tasks into coordination.json
augx sync openspec # mirror current OpenSpec specs into coordination.json
augx sync all
augx sync watch # auto-sync on change
bd sync handles the native Dolt remote. The Augx sync subcommands update the coordination map from Beads and OpenSpec data.
augx sync beads updates task entries in the coordination manifest from the compatibility export. Review its diff before committing because it can add historical tasks that are not currently tracked there.
Authoring Modules
A module is the unit of distribution. Each module is self-contained, versioned, and addressable by canonical id.
The repository’s ai-prompts/ directory contains implementation briefs for future work. The Playwright module prompt describes proposed guidance, examples, CLI and GUI integration, and validation for coding-standards/playwright.
Anatomy
augment-extensions/<category>/<module-name>/
├── module.json # Required: metadata, version, dependencies
├── README.md # Required: module overview
├── rules/ # Required: Markdown guidance files
│ ├── <rule-1>.md
│ └── <rule-2>.md
├── examples/ # Optional: worked code examples
└── CHANGELOG.md # Optional but encouraged
module.json schema
{
"id": "coding-standards/typescript",
"name": "TypeScript Standards",
"version": "2.0.0",
"category": "coding-standards",
"description": "TypeScript coding conventions, type safety, and module structure.",
"rules": ["rules/naming-conventions.md", "rules/type-safety.md"],
"dependencies": [],
"tags": ["typescript", "language"]
}
| Field |
Required |
Notes |
id |
yes |
Canonical id, <category>/<name> form, forward-slash. |
version |
yes |
Semver. |
category |
yes |
One of coding-standards, domain-rules, workflows, examples. |
rules |
yes |
Ordered list of relative paths to .md files. |
dependencies |
no |
Other module ids this module needs. |
tags |
no |
Free-form search tags. |
Authoring guidance
- Keep each rule file focused on a single concept. Smaller files compose better in aggregated exports.
- Use plain Markdown. Avoid HTML except for the comment-banner pattern.
- Reference other modules by canonical id, never by relative path. The materializer rewrites paths as needed.
- No em-dashes anywhere in module content. The
no-em-dash.md rule applies to module sources as well as agent output.
- Run
augx validate <module> before committing.
Versioning
- Patch: typo fixes, formatting, non-normative edits.
- Minor: new rule files or expanded guidance that preserves prior behavior.
- Major: removed rules, renamed canonical ids, or guidance that contradicts a prior major.
This checkout keeps a curated root index at modules.md and a generated CLI catalog at cli/MODULES.md. Regenerate or check the CLI catalog with augx catalog --output cli/MODULES.md or augx catalog --output cli/MODULES.md --check. The optional catalog-hook uses the package-root MODULES.md default and is not installed here.
Operability
Character-count discipline
The .augment/ directory has a hard target of 48,599 - 49,299 characters. The rule file .augment/rules/character-count-management.md is installed by augx init and pinned by augx install-rules. The verification command is:
Get-ChildItem -Path ".augment" -Recurse -File |
Get-Content -Raw |
Measure-Object -Character |
Select-Object -ExpandProperty Characters
When the total exceeds the target, the priority order is: condense examples, then remove low-value examples, then reduce redundancy, then streamline language. Core requirements and validation rules are never removed.
No em-dashes
The repository’s no-em-dash.md rule forbids the em-dash character in all generated text, code, and documentation, including this README. Use - or -- instead. Em-dashes cause encoding and copy-paste issues in terminals and cross-platform tooling.
Testing
Unit and integration tests live under tests/, __tests__/, and the CLI’s own cli/src/__tests__/. Vitest is the primary runner.
npm test # full suite
npm run test:unit # unit tests only
npm run test:integration # integration tests
npm run test:coverage # with coverage
Cross-platform-specific suites:
tests/export-e2e.test.ts - end-to-end augx export runs.
tests/drift-detection.test.ts - hash-based drift refusal.
tests/dry-run.test.ts - --dry-run writes nothing.
tests/mirror-idempotent.test.ts - mirror is idempotent across runs.
tests/mirror-symlink-fallback.test.ts - Windows EPERM fallback.
tests/source-hash.test.ts - canonical hash properties.
tests/tool-parse.test.ts - --target and --mirror parsing.
Logging and debugging
Most commands accept --verbose for structured trace output. augx export --verbose prints per-target hash computations and the resolved module set. augx link --verbose --mirror cursor prints each materialization decision and the fallback mode chosen.
Project Layout
augment-extensions/
├── augment-extensions/ # Module source tree (modules live here)
│ ├── coding-standards/
│ ├── domain-rules/
│ ├── workflows/
│ ├── examples/
│ ├── skills/
│ └── visual-design/
├── cli/ # The augx CLI (TypeScript)
│ ├── src/
│ ├── config/
│ └── MODULES.md # Generated catalog
├── ai-prompts/ # Implementation prompts for repository work
├── openspec/ # Spec-driven development
│ ├── specs/ # Canonical specs
│ ├── changes/ # Active proposals
│ └── archive/ # Completed proposals
├── .beads/ # Native embedded Dolt task store and JSONL export
├── .augment/ # Augment Code rules and coordination
│ ├── rules/
│ ├── coordination.json
│ └─</module></name></category></rule-2></rule-1></module-name></category></number></name></number></hash></name></hash></id></id></id></blocker-id></task-id></id></change-name></change-name></change-name></change-name></change-name></module></module></module></module></moduleid></module></module></module></module></tool></module></version></id></tool></skillid></skillid></skillid></skillid></query></skillid></skillid></path></task-id></spec-id></module></module></module></module></module></module></keyword></module></path></ids></name>
> README 内容过长,已截取前 64 KB。完整内容请前往 GitHub 仓库查看。
评论