perf-code-paths

Use when mapping code paths, entrypoints, and likely hot files before profiling.

677 stars

Best use case

perf-code-paths is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Use when mapping code paths, entrypoints, and likely hot files before profiling.

Teams using perf-code-paths should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/perf-code-paths/SKILL.md --create-dirs "https://raw.githubusercontent.com/agent-sh/agentsys/main/.kiro/skills/perf-code-paths/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/perf-code-paths/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How perf-code-paths Compares

Feature / Agentperf-code-pathsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use when mapping code paths, entrypoints, and likely hot files before profiling.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# perf-code-paths

Identify likely implementation paths for a performance scenario.

Follow `docs/perf-requirements.md` as the canonical contract.

## Required Steps

1. Use repo-intel if available; otherwise use grep for entrypoints and handlers.
2. List top candidate files/symbols tied to the scenario.
3. Include imports/exports or call chains when relevant.

## Output Format

```
keywords: <comma-separated list>
paths:
  - file: <path>
    symbols: [<symbol1>, <symbol2>]
    evidence: <short reason>
```

## Constraints

- Focus only on supported languages (Rust, Java, JS/TS, Go, Python).
- Keep to the most relevant 10-15 files.

Related Skills

perf-baseline-manager

677
from agent-sh/agentsys

Use when managing perf baselines, consolidating results, or comparing versions. Ensures one baseline JSON per version.

perf-theory-tester

677
from agent-sh/agentsys

Use when running controlled perf experiments to validate hypotheses.

perf-analyzer

677
from agent-sh/agentsys

Use when synthesizing perf findings into evidence-backed recommendations and decisions.

perf-theory-gatherer

677
from agent-sh/agentsys

Use when generating performance hypotheses backed by git history and code evidence.

perf-benchmarker

677
from agent-sh/agentsys

Use when running performance benchmarks, establishing baselines, or validating regressions with sequential runs. Enforces 60s minimum runs (30s only for binary search) and no parallel benchmarks.

perf-investigation-logger

677
from agent-sh/agentsys

Use when appending structured perf investigation notes and evidence.

perf-profiler

677
from agent-sh/agentsys

Use when profiling CPU/memory hot paths, generating flame graphs, or capturing JFR/perf evidence.

maintain-cross-platform

677
from agent-sh/agentsys

Use when preparing releases, validating cross-platform compatibility, or updating installation infrastructure. Meta-skill for maintaining AgentSys's 3-platform architecture.

learn

677
from agent-sh/agentsys

Research any topic online and create learning guides. Use when user asks to 'learn about', 'research topic', 'create learning guide', 'build knowledge base', or 'study subject'.

deslop

677
from agent-sh/agentsys

Use when user wants to clean AI slop from code. Use for cleanup, remove debug statements, find ghost code, repo hygiene.

orchestrate-review

677
from agent-sh/agentsys

Use when user asks to "deep review the code", "thorough code review", "multi-pass review", or when orchestrating the Phase 9 review loop. Provides review pass definitions (code quality, security, performance, test coverage), signal detection patterns, and iteration algorithms.

debate

677
from agent-sh/agentsys

Structured AI debate templates and synthesis. Use when orchestrating multi-round debates between AI tools, 'debate topic', 'argue about', 'stress test idea', 'devil advocate'.