artifact_demo

Writes an output file and persists it as an artifact via the Artifact service.

1.8k|303|Updated May 14, 2025
One-click install
npx skills add https://github.com/trpc-group/trpc-agent-go --skill artifact-demo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: artifact_demo
Source: https://github.com/trpc-group/trpc-agent-go/tree/main/examples/agui/server/skill_artifacts/skills/artifact_demo
Command: npx skills add https://github.com/trpc-group/trpc-agent-go --skill artifact-demo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It demonstrates how a skill in tRPC-Agent-Go can produce file outputs and persist them through the Artifact service, giving developers a working reference for artifact persistence in AG-UI server demos.

Core Features & Use Cases

  • File Output Generation: Writes a demo output file at out/hello.txt as part of the skill run.
  • Artifact Persistence: Instructs skill_run to persist generated outputs through the Artifact service.
  • Use Case: A developer building an AG-UI server with tRPC-Agent-Go can run this demo skill to verify that skill-produced files are correctly saved and retrievable as artifacts.

Quick Start

Run the artifact_demo skill in the skill_artifacts AG-UI server example and confirm that out/hello.txt is persisted as an artifact.

Frequently Asked Questions about artifact_demo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist skill output files as artifacts in tRPC-Agent-Go?

Have the skill write its output file, then ask skill_run to persist the outputs via the Artifact service. The artifact_demo skill shows this by writing out/hello.txt and requesting persistence.

What does the artifact_demo skill do?

It is a demo skill for the examples/agui/server/skill_artifacts example. It writes out/hello.txt and asks skill_run to persist the outputs through the Artifact service.

Where is the artifact_demo skill used?

It is used by the examples/agui/server/skill_artifacts demo in the trpc-agent-go repository, which demonstrates artifact persistence in an AG-UI server setup.

Does artifact_demo require external dependencies?

No external packages are required. The skill contains only a SKILL.md with instructions and relies on the skill_run tool and Artifact service provided by the trpc-agent-go runtime.