torchtalk-analyzer
Analyze PyTorch internals across Python, C++, and CUDA layers using the TorchTalk MCP server.
Skill by jeremyeder
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/jeremyeder-torchtalk-analyzer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, ml, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/torchtalk-analyzer
Tools it pre-approves 4
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
BashReadGrepGlob
What's inside
- Skill name
torchtalk-analyzer- Description
- Analyze PyTorch internals across Python, C++, and CUDA layers using the TorchTalk MCP server. Use when asked about how PyTorch operators work internally, where functions are implemented, what would break if code is modified, or finding tests for PyTorch operators.
- License
- Apache-2.0
- Allowed tools
- Bash, Read, Grep, Glob
- Instructions
- 130 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves any shell command
Files (1)
- SKILL.md
SKILL.md (first lines)
# TorchTalk Analyzer
This skill enables cross-language analysis of PyTorch internals by leveraging the TorchTalk MCP server. It traces binding chains from Python through C++ to CUDA, analyzes dispatch mechanisms, maps call graphs, and locates test infrastructure.
## When to Use
- When asked how a PyTorch operator works internally (e.g., "How does torch.add dispatch to CUDA?")
- When investigating where a function is implemented across CPU/CUDA/MPS backends
- When assessing what would break if a C++ function is modified (impact analysis)
- When tracing how torch.nn modules connect to native ATen operators
- When finding existing tests for a PyTorch operator or function
- When exploring PyTorch's dispatch architecture or autograd integration
## Prerequisites
- TorchTalk MCP server must be running and registered with Claude Code
- PyTorch source code must be available locally
- Run `/torchtalk:setup` if TorchTalk is not yet installed
Verify availability:
```text
mcp__torchtalk__get_status
```
If the status tool returns data, all tools below are ready.
## Instructions
### Step 1 - Verify MCP Server
Before using any tools, confirm the TorchTalk server is running:
```text
mcp__torchtalk__get_status
```
Check that:
- Bindings are loaded (should show thousands of bindings)
- Native functions are parsed
- C++ call graph status is "Ready" (required for impact/calls/called_by)
- Python modules are loaded (required for trace_module/list_modules)
If the server is not available, direct the user to run `/torchtalk:setup`.
---
### Step 2 - Identify the Analysis Type
Match the user's question to the appropriate tool:
| Question Pattern | Tool | Example |
|---|---|---|
| "How does X work?" / "Trace X" | `mcp__torchtalk__trace` | `trace("softmax", "full")` |
| "Find functions matching X" | `mcp__torchtalk__search` | `search("conv", "CUDA")` |
| "Where are the CUDA kernels for X?" | `mcp__torchtalk__cuda_kernels` | `cuda_kernels("softmax")` |
| "What does X call?" | `mcp__torchtalk__calls` | `calls("at::native::add")` |
| "What calls X?" | `mcp__torchtalk__called_by` | `called_by("at::native::add")` |
| "What breaks if I change X?" | `mcp__torchtalk__impact` | `impact("at::native::add", 3)` |
| "How does nn.Linear work?" | `mcp__torchtalk__trace_module` | `trace_module("Linear")` |
| "List all nn modules" | `mcp__torchtalk__list_modules` | `list_modules("nn")` |
| "Find tests for X" | `mcp__torchtalk__find_similar_tests` | `find_similar_tests("softmax")` |
| "What test utilities exist?" | `mcp__torchtalk__list_test_utils` | `list_test_utils("all")` |
| "What tests are in file X?" | `mcp__torchtalk__test_file_info` | `test_file_info("test_torch")` |
---
### Step 3 - Execute and Synthesize
For simple lookups, a single tool call suffices. For deeper questions, combine multiple tools:
**"How does torch.softmax work end-to-end?"**
1. `mcp__torchtalk__trace("softmax", "full")` - Get the binding chain
2. `mcp__torchtalk__cuda_kernels("softmax")` - Find GPU kernels
3. `mcp__torchtalk__calls("at::native::softmax")` - See internal dependencies
**"What breaks if I modify at::native::add?"**
1. `mcp__torchtalk__impact("at::native::add", 3)` - Transitive callers
2. `mcp__torchtalk__find_similar_tests("add")` - Affected tests
**"How does nn.Linear connect to native code?"**
1. `mcp__torchtalk__trace_module("Linear")` - Module definition
2. `mcp__torchtalk__trace("linear", "full")` - Native operator chain
---
### Step 4 - Present Results
Format results with:
- Clear layer separation (Python -> YAML -> C++ -> CUDA)
- `file:line` references for every implementation location
- Architectural context explaining *why* the dispatch is structured this way
- Suggestions for further exploration if the user wants to go deeper
## MCP Tools Reference
### ATen Operators
| Tool | Parameters | Description |
|---|---|---|
| `mcp__torchtalk__trace` | `function_name`, `focus?` | Trace Python to C++ binding chain. Focus: "full", "yaml", "dispatch" |
| `mcp__torchtalk__search` | `query`, `backend?`, `limit?` | Find bindings by name with optional backend filter |
| `mcp__torchtalk__cuda_kernels` | `function_name?` | Find GPU kernel launches with file:line |
### C++ Call Graph
| Tool | Parameters | Description |
|---|---|---|
| `mcp__torchtalk__impact` | `function_name`, `depth?` | Transitive callers + Python entry points (depth 1-5) |
| `mcp__torchtalk__calls` | `function_name` | Functions this function invokes (outbound) |
| `mcp__torchtalk__called_by` | `function_name` | Functions that invoke this (inbound) |
### Python Modules
| Tool | Parameters | Description |
|---|---|---|
| `mcp__torchtalk__trace_module` | `module_name` | Trace torch.nn.Linear, torch.optim.Adam, etc. |
| `mcp__torchtalk__list_modules` | `category?` | List modules: "nn" (default), "optim", "all", or search query |
### Test Infrastructure
| Tool | Parameters | Description |
|---|---|---|
| `mcp__torchtalk__find_similar_tests` | `query`, `limit?` | Find tests for an operator or concept |From jeremyeder/ai-helpers-plugin, Apache-2.0.
More from jeremyeder/ai-helpers-plugin
- 0.414score
python-full-deps
jeremyeder
Resolve the full install-time dependency tree for a Python package.
SkillDFreshness: DClaude Code +9 - 0.414score
jira-activity
jeremyeder
Summarize Jira ticket activity, including child tickets, to detect stale tickets in the backlog.
SkillDFreshness: DClaude Code +9 - 0.414score
gitlab-pipeline-debugger
jeremyeder
Debug and monitor GitLab CI/CD pipelines for merge requests.
SkillDFreshness: DClaude Code +9 - 0.411score
python-packaging-complexity
jeremyeder
Analyze Python package build complexity by inspecting PyPI metadata.
SkillDFreshness: DClaude Code +9 - 0.411score
python-packaging-env-finder
jeremyeder
Investigate environment variables that can be set when building Python wheels for a given project.
SkillDFreshness: DClaude Code +9 - 0.411score
python-packaging-source-finder
jeremyeder
Locate source code repositories for Python packages by analyzing PyPI metadata, project URLs, and code hosting platforms like GitHub, GitLab, and Bitbucket.
SkillDFreshness: DClaude Code - 0.411score
jira-upload-chat-log
jeremyeder
Export and upload the current chat conversation as a markdown file attachment to a JIRA ticket for later review and documentation.
SkillDFreshness: DClaude Code +9 - 0.411score
python-packaging-license-finder
jeremyeder
Deterministically find license information for Python packages by checking PyPI metadata first, then falling back to Git repository LICENSE files using…
SkillDFreshness: DClaude Code - 0.409score
ai-bug-fix-triage
jeremyeder
Triage JIRA bugs against repository code to classify AI fixability.
SkillDFreshness: DClaude Code +9 - 0.409score
jira-aipcc-create
jeremyeder
Create Jira issues in the AIPCC project.
SkillDFreshness: DClaude Code +9 - 0.408score
vllm-slack-summary
jeremyeder
Generate slack summaries of vLLM CI SIG Slack channel activity for the RHAIIS midstream release team
SkillDFreshness: DClaude Code +9 - 0.408score
git-shallow-clone
jeremyeder
Perform a shallow clone of a Git repository to a temporary location.
SkillDFreshness: DClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Mar 30, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/jeremyeder/ai-helpers-plugin
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from jeremyeder
- 0.414score
gitlab-pipeline-debugger
jeremyeder
Debug and monitor GitLab CI/CD pipelines for merge requests.
SkillDFreshness: DClaude Code +9 - 0.414score
jira-activity
jeremyeder
Summarize Jira ticket activity, including child tickets, to detect stale tickets in the backlog.
SkillDFreshness: DClaude Code +9 - 0.414score
python-full-deps
jeremyeder
Resolve the full install-time dependency tree for a Python package.
SkillDFreshness: DClaude Code +9 - 0.411score
python-packaging-complexity
jeremyeder
Analyze Python package build complexity by inspecting PyPI metadata.
SkillDFreshness: DClaude Code +9 - 0.411score
jira-upload-chat-log
jeremyeder
Export and upload the current chat conversation as a markdown file attachment to a JIRA ticket for later review and documentation.
SkillDFreshness: DClaude Code +9 - 0.411score
python-packaging-env-finder
jeremyeder
Investigate environment variables that can be set when building Python wheels for a given project.
SkillDFreshness: DClaude Code +9
Cite this page
torchtalk-analyzer skill. Agent Mart. https://agentmart.dev/skills/jeremyeder-torchtalk-analyzer (last updated 2026-10-24)