use-artifacts

Solid

Teach the agent when and how to use the artifact tool: what content belongs in artifacts, when to upload/update, and the SearchExtraTools + ExecuteExtraTool invocation flow for the deferred artifact tool.

AI & Automation 131 stars 26 forks Updated yesterday Apache-2.0

Install

View on GitHub

Quality Score: 90/100

Stars 20%
71
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Using Artifacts Artifacts are public HTML pages you upload to a hosting service. They have stable URLs that you can share with the user or open in a browser. Use them to surface work-in-progress, summaries, and reports. ## When to use artifacts **Good artifact content:** - Progress panels / kanbans (task list with status) - Research reports and analysis (data + findings + recommendations) - Design docs / decision records (with context and rationale) - Data visualizations (tables, SVG charts, flow diagrams) - Final deliverables (the "thing the user asked for" rendered as HTML) **Do NOT use artifacts for:** - Code snippets — use files directly - One-line answers — keep them in chat - Internal debug logs — keep them in chat - Large data dumps — link to source files instead ## Cadence — when to upload - **Task start**: if the task is complex (multi-step, research, deliverable), upload a skeleton artifact first as scaffolding (placeholder sections). - **Milestones**: when you complete a phase (research done / implementation done / tests pass), update the artifact. - **User asks**: upload immediately. - **Task end**: ship the final artifact as the deliverable. **Do NOT upload:** - After every tool call (noise) - Mid-step with no meaningful change (e.g. fixed a typo) ## How to invoke (deferred tool) `artifact` is a deferred tool. The first call requires two steps; subsequent calls one step. **First upload (creates a new artifact):** ``` 1. Use the Write tool to write HTM...

Details

Author
KonghaYao
Repository
KonghaYao/peri
Created
4 months ago
Last Updated
yesterday
Language
Rust
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category