Agent skill
grace-cli
Operate the optional `grace` CLI against a GRACE project. Use when you want to lint GRACE artifacts, resolve modules from names or file paths, inspect shared/public module context, or inspect file-local/private markup through `grace lint`, `grace module find`, `grace module show`, and `grace file show`.
Install this agent skill to your Project
npx add-skill https://github.com/osovv/grace-marketplace/tree/main/plugins/grace/skills/grace/grace-cli
SKILL.md
Use the optional grace CLI as a fast GRACE-aware read/query layer.
Prerequisites
- The
gracebinary must be installed and available onPATH - The target repository should already use GRACE artifacts and markup
- Prefer
--path <project-root>unless you are already in the project root
If the CLI is missing, or the repository is not a GRACE project, say so and fall back to reading the relevant docs and code directly.
Choose the Right Command
grace lint --path <project-root>Use for a fast integrity snapshot across semantic markup, XML artifacts, and export/map drift.grace module find <query> --path <project-root>Use to resolve module IDs from names, paths, dependencies, annotations, verification refs, or file-localLINKS.grace module show <id-or-path> --path <project-root>Use to read the shared/public module view fromdevelopment-plan.xml,knowledge-graph.xml, implementation steps, and linked files.grace module show <id> --with verification --path <project-root>Use when you also need the module's verification excerpt.grace file show <path> --path <project-root>Use to read file-local/privateMODULE_CONTRACT,MODULE_MAP, andCHANGE_SUMMARY.grace file show <path> --contracts --blocks --path <project-root>Use when you also need function/type contracts and semantic block navigation.
Recommended Workflow
- Run
grace lintwhen integrity or drift matters. - Run
grace module findto resolve the target module from the user's words, a stack trace, or a changed path. - Run
grace module showfor the shared/public truth. - Run
grace file showfor the file-local/private truth. - Read the underlying XML or source files only for the narrowed scope that still needs deeper evidence.
Output Guidance
- Use default text output for quick review and direct user-facing summaries.
- Use
--jsonwhen another tool, script, or agent step needs machine-readable output. - Treat CLI output as navigation help, not as a replacement for the real XML and source files when exact evidence is required.
Public/Private Rule
grace module showis for shared/public module context.grace file showis for file-local/private implementation context.- If shared docs and file-local markup disagree, call out the drift instead of silently trusting one side.
Important
- The CLI is a companion to the GRACE skills, not a replacement for them.
- Prefer this skill when the task is to inspect, navigate, or lint a GRACE project quickly through the CLI.
- For methodology design, execution planning, refresh, review, or fixes, route to the appropriate
grace-*skill after using the CLI to narrow scope.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
grace-verification
Design and enforce testing, traces, and log-driven verification for a GRACE project. Use when modules need stronger automated tests, execution-trace checks, or a maintained verification-plan.xml that autonomous and multi-agent workflows can trust.
grace-refactor
Refactor GRACE-governed code safely: rename, move, split, merge, or extract modules while keeping contracts, graph, verification, and semantic markup synchronized.
grace-fix
Debug an issue using GRACE semantic navigation. Use when encountering bugs, errors, or unexpected behavior - navigate through the graph, verification plan, and semantic blocks to analyze the mismatch and apply a targeted fix.
grace-cli
Operate the optional `grace` CLI against a GRACE project. Use when you want to lint GRACE artifacts, resolve modules from names or file paths, inspect shared/public module context, or inspect file-local/private markup through `grace lint`, `grace module find`, `grace module show`, and `grace file show`.
grace-plan
Run the GRACE architectural planning phase. Use when you have requirements and technology decisions defined and need to design the module architecture, create contracts, map data flows, and establish verification references. Produces development-plan.xml, verification-plan.xml, and knowledge-graph.xml.
grace-reviewer
GRACE integrity reviewer. Use for fast scoped gate reviews during execution, or full integrity audits at phase boundaries and after broader code, graph, or verification changes.
Didn't find tool you were looking for?