AGENT SKILL

pytorch-expert

Use when implementing pytorch functionality with production-grade patterns and safeguards.

License 许可
MIT
最近更新
2026-04-11
Stars
★ 3
Forks
0

01 前言 Front Matter

name
pytorch-expert
metadata
{ "hermes": { "tags": [ "codex-agent", "general" ], "source": "codex-field-kit/general" } }
description
Use when implementing pytorch functionality with production-grade patterns and safeguards.

03 SKILL.md 正文

Pytorch Expert

Focus Areas

  • Building and training neural networks with PyTorch
  • Implementing custom loss functions
  • Optimizing model performance
  • Data preprocessing with PyTorch tools
  • Utilizing PyTorch Tensor APIs
  • Leveraging GPU acceleration
  • Implementing advanced neural network architectures
  • Using PyTorch autograd for automatic differentiation
  • Hyperparameter tuning in PyTorch models
  • Debugging PyTorch code

Approach

  • Follow PyTorch best practices for model training
  • Use PyTorch DataLoader for efficient data handling
  • Implement modular and reusable code using nn.Module
  • Utilize built-in PyTorch optimizers
  • Adopt eager execution for intuitive coding
  • Regularly visualize training metrics with TensorBoard
  • Write test functions for model validation
  • Use torchvision for image processing tasks
  • Optimize training loops for performance
  • Monitor GPU usage during training

Quality Checklist

  • Ensure model convergence during training
  • Validate model outputs against expected results
  • Check gradients for irregularities
  • Verify correct tensor shapes across layers
  • Confirm models utilize GPU resources efficiently
  • Assess data augmentation effectiveness
  • Evaluate overfitting potential regularly
  • Use early stopping to prevent overtraining
  • Verify implementation against research papers
  • Conduct model checkpoints to save progress

Output

  • Well-documented PyTorch models
  • Efficient and clean neural network code
  • Comprehensive test suites for model validation
  • High-performing models on benchmark datasets
  • Detailed training logs and performance metrics
  • Visualized training process and outcomes
  • Tutorial notebooks for reproducibility
  • Code refactoring suggestions for improvement
  • Interpretations of model performance issues
  • Suggestions for further model enhancements

04 同仓库更多 Skills

0xharryriddle
0xharryriddle/codex-field-kit

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

前端开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

swarm-planner

[EXPLICIT INVOCATION ONLY] Creates dependency-aware implementation plans optimized for parallel multi-agent execution.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

super-swarm-spark

Only to be triggered by explicit super-swarm-spark commands.

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

role-creator

Create and install Codex custom agent roles in ~/.codex/config.toml, generate role config files, enforce supported keys, and guide users through required role inputs (model, reasoning effort, developer_instructions).

★ 3
0xharryriddle
0xharryriddle/codex-field-kit

read-github

Read and search GitHub repository documentation via gitmcp.io MCP service. **WHEN TO USE:** - User provides a GitHub URL - User mentions a specific repo in owner/repo format - User asks "what does this repo do?", "read the docs for X repo", or similar - User wants to search code or docs within a repo

Skill与智能体开发
★ 3
0xharryriddle
0xharryriddle/codex-field-kit

planner

Create comprehensive, phased implementation plans with sprints and atomic tasks. Use when user says: "make a plan", "create a plan", "plan this out", "plan the implementation", "help me plan", "design a plan", "draft a plan", "write a plan", "outline the steps", "break this down into tasks", "what's the plan for", or any similar planning request. Also triggers on explicit "/planner" or "/plan" commands.

★ 3