# How

> How is an open-source agent skill for developer tools. Explains how a codebase subsystem works, with architecture and runtime flow for onboarding. It is available on Claude Code, Codex and GitHub Copilot.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, GitHub Copilot
- **Website:** https://github.com/michael-denyer/pstack-claude/tree/main/plugins/pstack/skills/how
- **Repository:** https://github.com/michael-denyer/pstack-claude
- **GitHub stars:** 5,057
- **License:** MIT
- **Skill name:** how
- **Collection:** https://github.com/michael-denyer/pstack-claude
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

This skill helps an agent answer questions about how existing code works. It covers code walkthroughs to run before changing something, and placement questions such as which package owns a piece of logic or which layer it belongs in.

The workflow is two steps. The agent first states its reading of an ambiguous scope and then hands the question to a single read-only subagent, which explores the repository and writes an architectural explanation aimed at a senior engineer new to the area. The main agent then presents that explanation with only light edits.

It is written for Claude Code and its plugin marketplace, and the instructions point to platform mapping notes for Codex, GitHub Copilot, Muse and Antigravity. It needs access to a codebase to read and a subagent capability to run the exploration.

## When your agent uses it

> Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Use why for motivation.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/how)
- [License: MIT](https://github.com/michael-denyer/pstack-claude/tree/HEAD/plugins/pstack/skills/how)

## Features

- **Subsystem architecture explanations:** Produces a mental model of how a part of the codebase is structured and connected.
- **Runtime flow walkthroughs:** Traces how behaviour moves through the code before a change is made.
- **Ownership and layering checks:** Helps decide which package or layer should own a piece of logic.
- **Read-only exploration:** The explorer subagent is instructed to read the codebase without modifying it.
- **Scope interpretation:** States its reading of an ambiguous question so the user can redirect it.

## Good for

- Explain how authentication flows through this codebase
- Walk me through the request lifecycle before I change it
- Which package should own this new validation logic?
- Is this the right layer for this database query?
- Give me an onboarding overview of the billing subsystem

## Install

### Claude Code

This skill ships in the `pstack` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add michael-denyer/pstack-claude
/plugin install pstack@pstack-claude
```

Or copy only this skill to `~/.claude/skills/how`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/how &&
cp -R "$tmp/plugins/pstack/skills/how" ~/.claude/skills/how &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/how` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/how` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/how &&
cp -R "$tmp/plugins/pstack/skills/how" ~/.agents/skills/how &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/how` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/how` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/how &&
cp -R "$tmp/plugins/pstack/skills/how" ~/.cursor/skills/how &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/how` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/michael-denyer/pstack-claude.git --path plugins/pstack/skills/how
```

Or copy the folder to `~/.gemini/skills/how` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/how`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/how &&
cp -R "$tmp/plugins/pstack/skills/how" ~/.copilot/skills/how &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/how` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/michael-denyer/pstack-claude.git
```

Then copy `pstack-claude/plugins/pstack/skills/how` into your agent's skills folder as `how`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does How change in my code?

Nothing. The explorer subagent is instructed to have read-only access, and the skill's job is to explain code.

### When does How trigger?

The description says it applies to questions like how something works, code walkthroughs before a change, and placement or ownership questions. It suggests a separate skill for motivation questions about why code exists.

### How do I install How in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/how to use it in all your projects, or to .claude/skills/how in one project. Or install the pstack plugin, which includes it: /plugin marketplace add michael-denyer/pstack-claude, then /plugin install pstack@pstack-claude.

### Does How run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use How?

Claude Code, Codex and GitHub Copilot. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to How?

The closest alternatives to How are Codebase onboarding, Explore code, Teach, Acquire codebase knowledge and Why.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Codebase onboarding](https://ai-powered.com/skills/codebase-onboarding): Codebase onboarding is an open-source agent skill for developer tools.
- [Explore code](https://ai-powered.com/skills/explore-code): Explore code is an open-source agent skill for developer tools.
- [Teach](https://ai-powered.com/skills/teach): Teach is an open-source agent skill for developer tools.
- [Acquire codebase knowledge](https://ai-powered.com/skills/acquire-codebase-knowledge): Acquire codebase knowledge is an open-source agent skill for developer tools.
- [Why](https://ai-powered.com/skills/why-michael-denyer): Why is an open-source agent skill for developer tools.
- [Context strategy](https://ai-powered.com/skills/context-strategy): Context strategy is an open-source agent skill for developer tools.
- [Trace architecture](https://ai-powered.com/skills/trace-architecture): Trace architecture is an open-source agent skill for developer tools.
- [Repo recon](https://ai-powered.com/skills/repo-recon): Repo recon is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/how
