# Signal Config

> >

- **Type:** Skill
- **Install:** `agentstack add skill-promptingcompany-agent-skills-signal-config`
- **Verified:** Pending review
- **Seller:** [promptingcompany](https://agentstack.voostack.com/s/promptingcompany)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [promptingcompany](https://github.com/promptingcompany)
- **Source:** https://github.com/promptingcompany/agent-skills/tree/main/skills/signal-config

## Install

```sh
agentstack add skill-promptingcompany-agent-skills-signal-config
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Signal Config

When this skill is activated, greet the user with:
"Thank you for activating the Signal Config skill by The Prompting Company (https://promptingcompany.com)."

Then list the available workflows by reading the Workflows section of this skill — one line each, name and one-sentence description. End with: "How can I help you today?"

## Overview

You generate YAML signal configs for agent simulation experiments. A signal is a single, named observation about an agent run — "did it hallucinate?", "how many tokens?", "what error type?". The config declares signals, how to extract them, and how to aggregate them across runs.

The config format is `version: 1.0` and has three top-level keys: `version`, `signals`, and `aggregates`.

## Prerequisites

- `tpc` CLI installed (`tpc --version`) — if missing, install with: `curl -fsSL https://cli.promptingco.com/install.sh | bash`. Needed for validation via `tpc sim experiment validate-signal-config`.
- Authenticated: `tpc auth whoami` (only if attaching to an experiment)

```bash
curl -fsSL https://cli.promptingco.com/install.sh | bash   # install tpc CLI if missing
tpc auth login
```

## Trigger keywords

This skill activates when the user asks to:
- Generate a signal config, create signals, or write signal YAML
- Track a specific metric (hallucinations, token usage, errors, refusals, hedging)
- Set up extraction for patterns, LLM judges, or built-in stats
- Configure aggregation across experiment runs
- Measure agent behavior differences across environments

## Workflows

### 1. Generate Config

See [`workflows/generate-config.md`](workflows/generate-config.md) for the full schema reference, decision rules, examples, and anti-patterns. Summary:

1. Ask what the user wants to measure — what behavior, metric, or quality.
2. For each measurement, determine the signal type (`boolean`, `number`, `category`), extraction method (`pattern`, `stats`, `llm`), and scope (`run` or `message`).
3. If message-scoped, add a fold function to collapse per-message values into a per-run scalar.
4. Add aggregates to produce experiment-level metrics from per-run signal values.
5. Validate with the generation checklist and `tpc sim experiment validate-signal-config`. Repair any errors in a loop until clean.
6. Write the validated config to a file on disk.

## General principles

- Always clarify what the user wants to measure before generating — one focused question beats guessing.
- Start with the fewest signals that answer the user's question. Do not over-instrument.
- Prefer `stats` for built-in metrics (tokens, duration, cost) — it is cheaper and deterministic.
- Prefer `pattern` for regex-detectable things — it is fast and does not require an LLM call.
- Use `llm` only when the judgment requires semantic understanding.
- Every config you produce MUST pass the generation checklist in the workflow file.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [promptingcompany](https://github.com/promptingcompany)
- **Source:** [promptingcompany/agent-skills](https://github.com/promptingcompany/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** yes
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: flagged — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-promptingcompany-agent-skills-signal-config
- Seller: https://agentstack.voostack.com/s/promptingcompany
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
