Agent Native

indexion-agent-orient

This skill generates a pre-implementation orientation brief for coding agents by analyzing a codebase to identify likely package owners, consumer interfaces…

by trkbt10CommunityNot reviewed

Community author

Agents
Claude Code
License
Apache-2.0 (permissive)
Pin
7ad5ad3pinned Oct 9, 2026
Context cost
about 1,300 tokenswhen the skill loads
GitHub stars
2on trkbt10/indexion-skills
Scripts
None found

What it does

“Generate and use a pre-edit structure brief so coding agents learn likely owners, consumer surfaces, and unsafe edit locations before implementing.”
The author's description, from SKILL.md

Generated summary from the skill's own text

This skill generates a pre-implementation orientation brief for coding agents by analyzing a codebase to identify likely package owners, consumer interfaces, and unsafe edit locations. It uses the indexion command-line tool to build an incremental map of code structure, documentation, and ownership, then outputs a summary that agents can reference before modifying unfamiliar codebases.

When to use it

  • Agent needs to edit code in an unfamiliar or large repository
  • Implementing features in ambiguous or multi-owner code sections
  • Delegating implementation tasks to subagents with limited context
  • Preventing edits in unsafe or wrong-owner code paths

When not to

  • Working in a small, single-owner codebase with clear structure
  • Starting implementation in already well-understood code sections
  • indexion CLI tool is not installed or available in the environment

Install

These commands install from the publisher's repository and need no account.

skills CLI

npx skills add trkbt10/indexion-skills --skill indexion-agent-orient

Installs from the repository's default branch, which may have changed since the commit we checked.

GitHub CLI 2.90 or later

gh skill install trkbt10/indexion-skills indexion-agent-orient@7ad5ad35a6688db2f8765c1b270c9f6473da3a51

Installs the commit we checked (7ad5ad3).

Copy by hand

Download the folder at 7ad5ad3 and put it in .claude/skills/indexion-agent-orient for Claude Code and in .agents/skills/indexion-agent-orient for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.

Skill folder on GitHub at 7ad5ad3

Copy for your agent

A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.

Prompt

Install the agent skill "indexion-agent-orient" by trkbt10.

Source, pinned to commit 7ad5ad35a6688db2f8765c1b270c9f6473da3a51:
https://github.com/trkbt10/indexion-skills/tree/7ad5ad35a6688db2f8765c1b270c9f6473da3a51/skills/indexion-agent-orient

1. Download that folder at exactly this commit. Do not use the default branch.
2. Copy every file unchanged, keeping the folder structure, into .claude/skills/indexion-agent-orient/ for Claude Code and .agents/skills/indexion-agent-orient/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist.
3. Do not edit the files, and do not run any script in the folder unless I ask you to.
4. When you are done, list the files you copied and where you put them.

Listing and checks: https://www.agentnative.dev/skills/trkbt10/indexion-agent-orient

SKILL.md at the pin

---
name: indexion-agent-orient
description: Generate and use a pre-edit structure brief so coding agents learn likely owners, consumer surfaces, and unsafe edit locations before implementing.
---

# Agent Orientation Workflow

Use this skill before starting implementation in an unfamiliar or ambiguous part
of a codebase.

## Why

Coding agents often anchor on the path or noun in the user prompt and start
editing before they have learned the repository's ownership structure. `indexion
agent orient` builds an incremental orientation map across the selected
codebase, then renders a short, evidence-backed brief that can be pasted into
AGENTS.md, CLAUDE.md, a Claude slash command, a Codex skill, or a subagent prompt.

The rendered `--limit` is only a display limit. Owner inference must come from
the full prebuilt map, including code structure, package READMEs, and wiki pages
whose provenance is maintained by `wiki pages update`, `wiki pages ingest`, and
`plan reconcile`.

Owner profiles use package documentation and owner-specific wiki pages. Broad
wiki pages with multiple source roots are useful background, but they should not
be treated as proof that every referenced package owns the task.

## Pipeline

0. Verify the installed CLI has this workflow:

   ```bash
   indexion agent orient --help
   ```

   If this command is missing, update or rebuild indexion before continuing.
   Having an older `indexion` binary in PATH is not enough for this skill.

1. Generate the brief:

   ```bash
   indexion agent orient --task-file task.md --output=.indexion/cache/agent/orient.md .
   ```

   The first run writes `.indexion/cache/agent/orient-map.json`. Later runs
   refresh changed files and affected owner profiles only. Use `--no-update`
   when you intentionally want to query the saved map without refreshing it.
   This is the mode to use when a zero-knowledge agent needs an immediate
   owner guess from the latest prebuilt map.

   For short tasks:

   ```bash
   indexion agent orient --task "add a name/content drift audit" .
   ```

   If the user task is in a language or wording that does not appear in the
   repository's identifiers and README prose, keep the original task in your
   notes and pass a short codebase-vocabulary gloss to `--task`. The gloss
   should describe the objective, not the suspected owner. For example, say
   "detect drift between names and implementation contents" instead of naming a
   package you have not confirmed.

   Do not put supporting infrastructure constraints into the owner-inference
   `--task` gloss. Keep the original request, required tools, and implementation
   constraints in your notes or subagent prompt. The gloss is only the objective
   vocabulary used to query the prebuilt map, for example:

   ```bash
   indexion agent orient --no-update --task "name/content drift scoring and remediation planning" .
   ```

2. Read these sections before editing:

   - `Likely Implementation Owners`: core packages that should own domain
     behavior.
     Treat the first entry as the initial owner hypothesis unless follow-up
     evidence contradicts it.
   - `Knowledge Sources`: release notes, wiki pages, READMEs, or other
     documentation that matched the task. Use these as context; do not treat a
     documentation-only path as the place to implement domain behavior.
   - `Consumer Surfaces`: CLI, skills, docs, or adapters likely to call the core.
   - `Do Not Implement Here`: files to avoid as domain implementation targets.
   - `Required Preflight`: files the agent should read before patching.
   - `Orientation Map`: confirms the total file/owner/documentation corpus used
     before display truncation.

3. Confirm the owner with focused tools:

   ```bash
   indexion doc graph --format=text <likely-owner>
   indexion grep --semantic=name:<term> .
   indexion search "<task concept>" .
   ```

   Use the distinguishing terms from the brief and the user task, not only the
   broad infrastructure words. If search results drift toward supporting
   systems instead of the likely owner, refine the query with the name/content,
   drift, divergence, or domain-specific terms that actually define the task
   before changing the owner.

4. Gate implementation:

   - If the intended edit path appears in `Do Not Implement Here`, stop and
     explain the conflict.
   - If the intended owner is absent from `Likely Implementation Owners`, gather
     more evidence with `doc graph`, `grep`, `search`, or `explore`.
   - Keep CLI code thin unless the brief and follow-up evidence show it owns the
     behavior.

5. Use for zero-knowledge delegation:

   Give a subagent only the task and the generated orientation brief, then quiz
   it before assigning implementation work. It should immediately name the core
   implementation owner, one knowledge source, one unsafe edit location, and one
   preflight evidence path. Passing that quiz is the signal that the prebuilt map
   has transferred the right ownership assumptions.

## External Agent Mapping

- Claude Code: store stable guidance in `CLAUDE.md`, project commands in
  `.claude/commands/`, and project subagents in `.claude/agents/`.
- Codex: store stable guidance in AGENTS.md or skills, and paste the orientation
  brief into delegated task context.
- Multi-agent workflows: use the brief as the structured handoff payload so each
  isolated agent starts with the same repository-specific assumptions.

From trkbt10/indexion-skills at 7ad5ad3, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.

View SKILL.md on GitHub at 7ad5ad3

Files

1 file, 5.5 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.

Skill folder on GitHub at 7ad5ad3
All Coding workflow skills
  • planning

    This skill orchestrates multi-workflow projects with dependencies and shared data tables by creating a task graph in the orchestrator via the create-tasks tool.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +3 · about 2.4K tokens · pinned 6 days ago

  • progressive-building

    This skill implements incremental workflow development for agents building or extending workflows.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +3 · about 1.4K tokens · pinned 6 days ago

  • workflow-builder

    Builds and edits n8n workflows using the TypeScript SDK.

    by n8nOfficial publisher

    Claude Code, Codex, Cursor +3 · about 14.2K tokens · pinned 6 days ago

  • remotion-upgrade

    This skill upgrades Remotion and its related packages to the latest stable version.

    by RemotionOfficial publisher

    Claude Code, Codex, Cursor +3 · about 460 tokens · pinned 6 days ago

  • remotion-upgrade

    This skill upgrades Remotion and related packages across a project, automatically detecting the package manager and workspaces.

    by RemotionOfficial publisher

    Claude Code, Codex, Cursor +3 · about 460 tokens · pinned 6 days ago

  • final-release-review

    Audits Python SDK release candidates or plans against the previous release, comparing diffs for regressions, API changes, and version compatibility.

    by OpenAIOfficial publisher

    Contains scripts

    Claude Code, Codex, Cursor +3 · about 5.4K tokens · pinned 6 days ago

The skills listed here are third-party software, collected from public GitHub repositories as a catalog of recent skills and provided as is. Agent Native does not write or control them and is not responsible for any harm, loss or damage caused by installing or using them. Labels and checks describe what we saw at one commit and are not a guarantee. Read a skill's files before you run it. Terms of use