demo-profile

Demonstrates skill tool profile modes by writing a text file via shell script.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

It provides a minimal working example for understanding how the WithSkillToolProfile(...) option in tRPC-Agent-Go controls skill behavior, showing the difference between full execution mode and knowledge-only mode.

Core Features & Use Cases

  • Profile Mode Demonstration: Shows how a skill behaves differently in full mode (executing scripts) versus knowledge-only mode (using docs for reasoning).
  • Script Execution Example: Includes a shell script that writes a demo text file to out/profile.txt.
  • Documentation Reference: Ships a usage doc so skill_list_docs and skill_select_docs have real content to work with in knowledge-only mode.
  • Use Case: A developer building agent skills with tRPC-Agent-Go can run this example to verify that tool profiles correctly gate script execution before writing their own skills.

Quick Start

Run the demo-profile skill in full mode to execute its script and write the profile output file, then switch to knowledge-only mode to compare behavior.

Frequently Asked Questions about demo-profile

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

FAQPage Schema
How do I run the demo-profile skill script?

Run the script with sh scripts/write_profile.sh out/profile.txt from the skill directory in full mode. It creates the output directory if needed and writes a short demo text file.

What is the difference between full mode and knowledge-only mode in skill tool profiles?

In full mode the skill can execute its scripts, such as writing the profile output file. In knowledge-only mode the script is treated as reference material and the agent reasons from the docs instead of executing commands.

How do I use WithSkillToolProfile in tRPC-Agent-Go?

WithSkillToolProfile is an option in the tRPC-Agent-Go framework that configures which tools a skill exposes. This demo skill exists specifically to demonstrate that option's behavior across execution modes.

Does the demo-profile skill require any external dependencies?

No external dependencies are required. The script uses only standard POSIX shell commands like mkdir and printf, so any Unix-like environment with sh can run it.

Why does the demo skill include a docs folder?

The docs folder gives the skill_list_docs and skill_select_docs tools real content to retrieve in knowledge-only mode, where documentation replaces script execution as the reasoning source.