# Read Unmodified C Module

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

- Skill: `redisearch/read-unmodified-c-module` (Agent Skill)
- Install (CLI): `npx skillmds@latest add redisearch/read-unmodified-c-module`
- Raw SKILL.md: https://api.skillmd.com/api/skills/redisearch/read-unmodified-c-module/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: RediSearch (https://skillmd.com/u/redisearch)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/redisearch/read-unmodified-c-module

---


# 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:

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

