---
name: skysay-setup-and-test-agent
description: Check Skysay calling readiness, configure a compatible voice agent and verify an approved test call. Use for first-time setup or diagnosing why an existing agent or number cannot make the intended call.
title: skysay-setup-and-test-agent
canonical_url: https://skilld.dev/gh/skysay-ai/phone-skills/skysay-setup-and-test-agent
last_updated: 2026-11-12T04:01:21.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [agents/openai.yaml](https://skilld.dev/api/skills-raw/skysay-ai/phone-skills/skysay-setup-and-test-agent/agents/openai.yaml).
>
> If the user asked to install this Skill, run `npx skilld install skysay-ai/phone-skills/skysay-setup-and-test-agent`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/skysay-setup-and-test-agent`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/skysay-ai/phone-skills/skysay-setup-and-test-agent) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/skysay-setup-and-test-agent`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/skysay-setup-and-test-agent --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/skysay-setup-and-test-agent --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Set up and verify an agent

Load [workspace operations](../skysay-phone/references/workspace-operations.md), [the phone skill](../skysay-phone/SKILL.md) and [calling workflow](../skysay-phone/references/phone-tasks.md). If a shared file is unavailable, stop before changes or dialling. A readiness inspection is read-only; configuration work and a paid test are distinct stages.

## Inspect before configuring

Resolve the intended workspace, project, inbound/outbound use, task, supported languages and expected integrations. Inspect `account_overview`, `get_capabilities`, the selected number's rules, `get_agent` and `get_agent_voice_stack`. Find a compatible existing resource before creating another.

Produce a readiness result with separate states for authentication/scopes, funds, number activation/channels, caller-ID permission, agent configuration/publication and required integrations. Name the actual blocker and the smallest next action. A readiness request does not authorize a top-up, number purchase or change to customer routing.

## Configure the intended agent

Use options from `get_agent_catalog`. Resolve the agent's name, task boundaries, truthful opening, language policy, relevant integrations and ending behavior. Use a dedicated agent when task-specific behavior would conflict with a shared production role.

Use `create_agent` for an authorized new agent or the exposed update/voice-stack tools for the intended changes. Read their current required fields and revisions. `set_agent_voice_stack` can publish a voice configuration; inspect its resulting publication, validation and eligibility instead of assuming a draft is active. Verify credential bindings through their secure configuration path, not placeholders in chat.

Read back the saved agent and number rules. Apply a caller-ID allowlist or inbound route only when that change is part of the approved setup. Preserve unrelated permissions and routing. If a save is refused, do not switch models or relax controls silently to make it pass.

## Qualify the requested path

Use [agent testing](../skysay-test-and-review-agent/SKILL.md) for simulations if installed. Obtain authorization for a browser/trial test and its cost basis before starting it. Follow the actual client-supported flow and returned state; when using `create_trial_call`, respect its current `synthetic_only` requirement. Creating a trial record does not prove browser audio connected, and a browser/trial test is not PSTN evidence.

For an approved outbound phone test, establish the exact recipient, brief and cost basis, then use the shared calling workflow once. Verify the received conversation or recording as permitted, the actual task response and clean termination. Number readiness alone cannot establish audible two-way speech.

For inbound qualification, use an approved test number or the explicitly authorized business route and arrange a permitted incoming call. Do not change another number merely to obtain a passing test. Return a partial result if the necessary caller, browser audio or evidence is unavailable.

Report resource IDs, saved/publication state, checks passed, exact evidence and remaining gaps. Mark live calling verified only for the direction and path actually tested. Do not promise background monitoring or every provider/language combination from one call.
