Agent skill

synapse-result-schemas

Explains result schema classes for Synapse plugin actions. Use when the user mentions "TrainResult", "InferenceResult", "ExportResult", "UploadResult", "WeightsResult", "MetricsResult", "result_model", "result schema", or needs help with action return type validation.

majiayu000534★ · 1 repos on radarProfile →
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill result-schemas --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 4 KB
Bundled scripts: none
Path: skills/ai-ml/result-schemas/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Result Schemas Synapse SDK provides standardized result schema classes for common action outputs. These provide type-safe, validated return types for actions. ## Available Result Schemas ```python from synapse_sdk.plugins.schemas import ( TrainResult, InferenceResult, ExportResult, UploadResult, WeightsResult, MetricsResult, ) ``` | Schema | Purpose | |--------|---------| | `TrainResult` | Training output with weights and metrics | | `InferenceResult` | Inference predictions | | `ExportResult` | Data export output | | `UploadResult` | File upload results | | `WeightsResult` | Model weights only | | `MetricsResult` | Evaluation metrics only | ## Quick Usage ### With Class-Based Actions ```python from synapse_sdk.plugins.actions.train import BaseTrainAction from synapse_sdk.plugins.schemas import TrainResult class MyTrainAction(BaseTrainAction[TrainParams]): result_model = TrainResult # Enable result validation def execute(self) -> TrainResult: # ... training ... return TrainResult( weights_path='/models/best.pt', final_epoch=100, train_metrics={'loss': 0.05}, val_metrics={'mAP50': 0.85}, ) ``` ### With Function-Based Actions ```python from synapse_sdk.plugins.decorators import act

What's inside
Steps it walks through
  1. Available Result Schemas
  2. Quick Usage
  3. With Class-Based Actions
  4. With Function-Based Actions
  5. Schema Details
  6. TrainResult
  7. InferenceResult
  8. ExportResult
  9. UploadResult
  10. WeightsResult
  11. MetricsResult
  12. Detailed References
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the synapse-result-schemas skill do?

Explains result schema classes for Synapse plugin actions. Use when the user mentions "TrainResult", "InferenceResult", "ExportResult", "UploadResult", "WeightsResult", "MetricsResult", "result_model", "result schema", or needs help with action return type validation.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill result-schemas --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going