Agent skill

Paddle Eager Graph

by PaddlePaddle in PaddlePaddle/Paddle

A skill your agent uses when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating…

Apache-2.0Auto-check passedDevelopment

Install Paddle Eager Graph

skills CLI
$ npx skills add PaddlePaddle/Paddle --skill paddle-eager-graph -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PaddlePaddle/Paddle paddle-eager-graph --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PaddlePaddle/Paddle.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/paddle-design-eager-graph .claude/skills/paddle-eager-graph && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
paddle-eager-graph
GitHub stars
24k
Token cost
~562 tokens
SKILL.md length
98 words
Files
7 (incl. references)
Skills in repo
11
Repo updated
First seen
Licence
Apache-2.0

At a glance

A skill your agent uses when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating…

  • Navigating Paddle eager-mode (dynamic graph) source code
  • SKILL.md covers 前向调用链路, 关键文件表, 反向关键数据结构 and 调试场景速查, plus 1 more section
  • Calls python
  • Tracing forward/backward execution

What it does

Paddle Eager Graph is an agent skill from PaddlePaddle/Paddle. Use when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating complex-valued gradient computation. Covers Python API to C++ kernel call chain, backward graph topology sort, and inplace version tracking.

Its SKILL.md is about 560 tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `references/autograd-data-structs.md`, `references/backward-execution.md` and `references/complex-autograd.md`).

It sits in Development, covering Deep learning. It works with Python and C++. The repository describes itself as: PArallel Distributed Deep LEarning: Machine Learning Framework from Industrial Practice (『飞桨』核心框架,深度学习&机器学习高性能单机、分布式训练和跨平台部署). The licence is Apache-2.0.

When your agent uses it

  • Navigating Paddle eager-mode (dynamic graph) source code
  • Tracing forward/backward execution
  • Debugging autograd issues
  • Understanding PyLayer

Example prompts

  • “/paddle-eager-graph”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 4793e33. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Paddle Eager Graph loads about 562 tokens when it runs, and up to ~10k if it reads all its reference files. Until then it costs about 82 tokens; SKILL.md has 98 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~82
When it runs · the whole SKILL.md, loaded when a task matches
~562
With references · SKILL.md plus every file in references/, read only if the agent opens them
~10k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PaddlePaddle/Paddle at commit 4793e33, republished under its Apache-2.0 licence (© PaddlePaddle). 98 words, ~562 tokens.

Download SKILL.mdSave it as .claude/skills/paddle-eager-graph/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
paddle-eager-graph
description
Use when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating complex-valued gradient computation. Covers Python API to C++ kernel call chain, backward graph topology sort, and inplace version tracking.

Paddle 动态图(Eager Mode)导航索引

Paddle 动态图边执行边建图:前向执行时构建反向图,调用 backward() 时按拓扑序执行反向图。

前向调用链路

Python paddle.add(x, y)
  │
  ▼
① ops_api.cc          ─ Python-C 映射,GetTensorFromArgs 提取 Tensor
  ▼
② eager_op_function.cc ─ 参数解析 / Dist Tensor / 释放 GIL / backend 选择
  ▼
③ dygraph_functions.cc ─ AMP / Type Promotion / 创建 GradNode / 构建反向图
  ▼
④ api.cc              ─ KernelKey 构造 / Kernel 选择 / PrepareData / InferMeta
  ▼
⑤ PHI Kernel 执行

关键文件表

层级代码路径代码生成器
① Python-C 映射paddle/fluid/pybind/ops_api.ccops_api_gen.py
② 动态图 C++ 接口paddle/fluid/pybind/eager_op_function.ccpython_c_gen.py
③ 自动微分函数paddle/fluid/eager/api/generated/eager_generated/forwards/dygraph_functions.cceager_gen.py
④ PHI 算子库接口paddle/phi/api/lib/api.ccapi_gen.py

反向关键数据结构

数据结构一句话描述
AutogradMetaTensor 持有的反向元信息:梯度、来源 GradNode、slot/rank 位置
GradNodeBase反向节点基类,纯虚 operator() 执行反向计算
GradSlotMeta描述 GradNode 某个 slot 的 meta 信息与出边 Edge
Edge指向后继 GradNode 的边,含 in_slot_id_ 和 in_rank_
TensorWrapperGradNode 中保存前向 Tensor 的包装器,含 inplace 版本快照
GradTensorHolder反向执行期间临时存放与聚合梯度的二维 buffer

调试场景速查

调试场景阅读哪个参考文档
前向调用链路 / Kernel 选择问题forward-call-chain.md
反向梯度不正确 / 拓扑排序问题backward-execution.md
数据结构成员 / 内存泄漏排查autograd-data-structs.md
自定义反向 PyLayerpylayer.md
复数梯度 / Wirtinger 导数complex-autograd.md
Inplace 操作 / 版本追踪inplace.md

社区资料(L3 层)

© PaddlePaddle, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (references) in .agents/skills/paddle-design-eager-graph of PaddlePaddle/Paddle.

  • SKILL.md
  • references/autograd-data-structs.md
  • references/backward-execution.md
  • references/complex-autograd.md
  • references/forward-call-chain.md
  • references/inplace.md
  • references/pylayer.md

Open the folder on GitHubat commit 4793e33

Compare with similar skills

Paddle Eager Graph next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Paddle Eager Graph compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Paddle Eager Graph this skillPaddlePaddle/Paddle24k—~562Automated safety check: PassApache-2.0
ExecuTorch Build Guidepytorch/executorch5.1k—~2.3kAutomated safety check: NotesCustom licence
Onnxtxtonnx/onnx22k—~1.3kAutomated safety check: PassApache-2.0
Ako4allTongmingLAIC/AKO4ALL369—~4kAutomated safety check: PassMIT
Quark Installamd/Quark181—~1.8kAutomated safety check: NotesMIT
Software Harnessexeex/edge-cores110—~1kAutomated safety check: PassApache-2.0

Similar skills

  • ExecuTorch Build Guide

    pytorch/executorch

    Builds ExecuTorch from source: the Python package, C++ runtime, model runners, Android and iOS cross-compilation and backend-specific builds, with environment checks.

    5.1k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check: notes
  • Onnxtxt

    onnx/onnx

    Read or write ONNX text format ("onnxtxt"). An agent skill from onnx/onnx.

    22k GitHub stars~1.3k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Ako4all

    TongmingLAIC/AKO4ALL

    Drive an agentic loop that iteratively optimizes a GPU kernel for maximum speedup.

    369 GitHub stars~4k tokensUpdated 23 days ago
    AI & LLM EngineeringAuto-check passed
  • Quark Install

    amd/Quark

    Install or verify the AMD Quark package and its dependencies.

    181 GitHub stars~1.8k tokensUpdated 10 days ago
    AI & LLM EngineeringAuto-check: notes
  • Software Harness

    exeex/edge-cores

    Run, extend, debug, or review the public edge-e3 bare-metal software harness, including encrypted Verilator builds, hello and tensor examples, all example/llama/model smoke cases, PyTorch BF16…

    110 GitHub stars~1k tokensUpdated 12 days ago
    AI & LLM EngineeringAuto-check passed
  • The Art of Debugging

    stas00/the-art-of-debugging

    Condensed debugging method and tool recipes for Unix, Python and PyTorch programs: crashes, hangs, segfaults, wrong output, CUDA OOM, NaN values and slowness.

    1.7k GitHub stars~6.1k tokensUpdated 2 days ago
    DevelopmentAuto-check: notes

More from PaddlePaddle/Paddle

All 11 skills in this repo
  • Paddle Build

    PaddlePaddle/Paddle

    A skill your agent uses when needing to compile, rebuild, or install Paddle from source after code changes.

    24k GitHub stars~1k tokensUpdated 8 days ago
    Auto-check passed
  • Paddle Design Compiler

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle 3.0 compiler full pipeline: SOT (Symbolic Opcode Translator) for bytecode-level dy2st graph capture, PIR (Paddle IR) for SSA-based intermediate…

    24k GitHub stars~3.6k tokensUpdated 8 days ago
    Auto-check passed
  • Paddle Design Distributed

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle's distributed training system: understanding parallelism strategies (DP, ZeRO, TP, PP, SP), semi-automatic parallel with ProcessMesh + shardtensor…

    24k GitHub stars~660 tokensUpdated 8 days ago
    Auto-check passed
  • Paddle Phi Kernel

    PaddlePaddle/Paddle

    A skill your agent uses when working with Paddle's PHI kernel system: registering new kernels, debugging kernel selection/dispatch, understanding code auto-generation from YAML, or implementing…

    24k GitHub stars~656 tokensUpdated 8 days ago
    Auto-check passed
  • Paddle Debug

    PaddlePaddle/Paddle

    在 Paddle 代码库中定位问题并输出高质量调试报告的专用技能。当遇到以下场景时优先使用:(1) Paddle 框架 bug 调试,(2) 算子实现问题排查,(3) 训练脚本异常诊断,(4) 分布式训练故障定位,(5) CUDA/GPU 相关错误处理,(6) 需要生成结构化调试报告。

    24k GitHub stars~1.4k tokensUpdated 8 days ago
    Auto-check passed
  • Paddle Op Dev

    PaddlePaddle/Paddle

    PaddlePaddle (飞桨) C++ 算子开发指南。提供从 YAML 配置、InferMeta 函数、Kernel 实现、Python API 封装、单元测试到编译验证的完整算子开发流程指导。在以下场景使用此 skill:(1) 为 Paddle 框架新增 C++ 算子 (2) 修改或调试已有 Paddle 算子 (3) 编写算子的 YAML…

    24k GitHub stars~1.3k tokensUpdated 8 days ago
    Auto-check passed

Works with

Questions about Paddle Eager Graph

What does Paddle Eager Graph do?

A skill your agent uses when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating…. Paddle Eager Graph is an agent skill from PaddlePaddle/Paddle. Use when navigating Paddle eager-mode (dynamic graph) source code, tracing forward/backward execution, debugging autograd issues, understanding PyLayer, or investigating complex-valued gradient computation.

When should I use Paddle Eager Graph?

Paddle Eager Graph fits situations like: navigating Paddle eager-mode (dynamic graph) source code; tracing forward/backward execution; debugging autograd issues; understanding PyLayer.

How do I install Paddle Eager Graph in Claude Code?

Run `npx skills add PaddlePaddle/Paddle --skill paddle-eager-graph -a claude-code`. Or copy the skill folder (.agents/skills/paddle-design-eager-graph in PaddlePaddle/Paddle) into .claude/skills/paddle-eager-graph in your project. Claude Code loads it when a task matches its description.

How do I install Paddle Eager Graph in Codex?

Run `npx skills add PaddlePaddle/Paddle --skill paddle-eager-graph -a codex`. Or copy the skill folder (.agents/skills/paddle-design-eager-graph in PaddlePaddle/Paddle) into .agents/skills/paddle-eager-graph in your project. Codex loads it when a task matches its description.

Can I use Paddle Eager Graph in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PaddlePaddle/Paddle --skill paddle-eager-graph -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/paddle-eager-graph, .gemini/skills/paddle-eager-graph, .github/skills/paddle-eager-graph and .opencode/skills/paddle-eager-graph in your project.

What does Paddle Eager Graph need to run?

Going by SKILL.md and its folder, Paddle Eager Graph needs the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Paddle Eager Graph access the network?

SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.

Is Paddle Eager Graph safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Paddle Eager Graph use?

Paddle Eager Graph is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Paddle Eager Graph use?

About 562 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 9.5k tokens, read only when the agent opens those files.

What are the alternatives to Paddle Eager Graph?

Skills that share tags, products or a category with Paddle Eager Graph: ExecuTorch Build Guide (pytorch/executorch, 5.1k stars), Onnxtxt (onnx/onnx, 22k stars), Ako4all (TongmingLAIC/AKO4ALL, 369 stars) and Quark Install (amd/Quark, 181 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Paddle Eager Graph?

PaddlePaddle (a GitHub organization) maintains it in PaddlePaddle/Paddle, which has 24,120 GitHub stars. The repository holds 11 skills in this directory. The repository was last updated on September 30, 2026.

Source: PaddlePaddle/Paddle on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.