OpenParable
Skip to content
← Back to skills

Read Unmodified C Module

Development
read-unmodified-c-module

Read Unmodified C Module is an Agent Skill for development published in the RediSearch/RediSearch repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Read the source of the C module we are working on, before we made any changes.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/RediSearch/RediSearch/blob/HEAD/.skills/read-unmodified-c-module/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/read-unmodified-c-module, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Read Unmodified C Module

Read the source of the C module(s) we are working on, as they were before we made any changes.

Arguments

  • <module path>: Module name to read (e.g., src/numeric_range_tree or src/aggregate/aggregate_debug), without extension
  • <module path 1> <module path 2>: Multiple module names to read

If the path doesn't include src/, assume it to be in the src directory. E.g. numeric_range_tree becomes src/numeric_range_tree.

Instructions

For each module path:

# Read header file
git show master:<module path>.h
# Read implementation file
git show master:<module path>.c