Get the FREE Ultimate OpenClaw Setup Guide →

grace-ask

npx machina-cli add skill osovv/grace-marketplace/grace-ask --openclaw
Files (1)
SKILL.md
1.7 KB

Answer a question about the current GRACE project.

Process

Step 1: Load Project Context

Read the following files (skip any that don't exist):

  1. AGENTS.md — project principles and conventions
  2. docs/knowledge-graph.xml — module map, dependencies, exports
  3. docs/requirements.xml — use cases and requirements
  4. docs/technology.xml — stack, runtime, libraries
  5. docs/development-plan.xml — phases, modules, contracts

Step 2: Identify Relevant Modules

Based on the question, find the most relevant modules:

  1. Use the knowledge graph to locate modules related to the question
  2. Follow CrossLinks to find connected modules
  3. Read MODULE_CONTRACTs of relevant modules for detailed context

Step 3: Dive Into Code If Needed

If the question is about specific behavior or implementation:

  1. Use MODULE_MAP to locate relevant functions/blocks
  2. Read the specific START_BLOCK/END_BLOCK sections
  3. Read function CONTRACTs for intent vs implementation details

Step 4: Answer

Provide a clear, concise answer grounded in the actual project artifacts. Always cite which files/modules/blocks your answer is based on.

Important

  • Never guess — if the information isn't in the project artifacts, say so
  • If the question reveals a gap in documentation or contracts, mention it
  • If the answer requires changes to the project, suggest the appropriate $grace-* skill

Source

git clone https://github.com/osovv/grace-marketplace/blob/main/codex-skills/grace-ask/SKILL.mdView on GitHub

Overview

grace-ask answers questions about the current GRACE project by loading full project context, traversing the knowledge graph, and consulting MODULE_MAPs and CONTRACTs to ground replies. It cites the exact files and blocks it used, and flags gaps when documentation is missing.

How This Skill Works

Step 1 loads artifacts: AGENTS.md, docs/knowledge-graph.xml, docs/requirements.xml, docs/technology.xml, and docs/development-plan.xml. Step 2 identifies relevant modules using the knowledge graph and reads MODULE_CONTRACTs. Step 3 dives into code if needed: locate functions via MODULE_MAP, read START_BLOCK/END_BLOCK, and consult CONTRACTs before answering.

When to Use It

  • Asked about codebase, architecture, modules, or implementation of the current GRACE project.
  • Need answers grounded in actual project artifacts with precise citations.
  • Seeking how a module interacts with others via the knowledge graph.
  • Verifying behavior or implementation details before making changes or debugging.
  • Highlighting gaps or missing documentation in AGENTS/docs files.

Quick Start

  1. Step 1: Load project context from AGENTS.md, docs/knowledge-graph.xml, docs/requirements.xml, docs/technology.xml, and docs/development-plan.xml.
  2. Step 2: Use the knowledge graph to identify relevant MODULEs and read MODULE_CONTRACTs.
  3. Step 3: If needed, drill into code with MODULE_MAP, START_BLOCK/END_BLOCK, and CONTRACTs, then answer with citations.

Best Practices

  • Load all listed project context files before answering.
  • Ground every claim with citations to files/modules/blocks.
  • Do not guess—if artifacts don't contain an answer, say so.
  • Cross-reference MODULE_CONTRACTs and MODULE_MAP for accuracy.
  • Keep answers concise and actionable for developers.

Example Use Cases

  • Q: How does module X implement feature Y? A: Answer grounded in knowledge graph and MODULE_MAP with citations.
  • Q: Why does function foo behave this way? A: Refer to START_BLOCK/END_BLOCK and CONTRACTs.
  • Q: What are the dependencies of module Z? A: Citations to docs/knowledge-graph.xml and MODULE_CONTRACTs.
  • Q: Is there a documented gap in docs/requirements.xml? A: Acknowledge missing content and suggest fixes.
  • Q: How should I modify the code to fix Bug 123? A: Cite related artifacts and suggest $grace-* skill changes if needed.

Frequently Asked Questions

Add this skill to your agents
Sponsor this space

Reach thousands of developers