CtrlK
BlogDocsLog inGet started
Tessl Logo

add-hosted-key

Add hosted API key support to a tool so Sim provides the key (metered and billed to the workspace) when a user has not brought their own. Use when adding a `hosting` config to a tool under `apps/sim/tools/{service}/`.

69

Quality

85%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Low

Low-risk findings worth noting

SKILL.md
Quality
Evals
Security

Quality

Content

82%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A highly actionable, well-sequenced guide whose every step has executable code and exact file targets. It is held back from the top band only by a duplicated cost-code example, the absence of an explicit build/test verification step, and no offloading of research/output templates to reference files.

DimensionReasoningScore

Conciseness

The body is dense, imperative, and repo-specific with almost no generic explanation, but it duplicates the near-identical `getCost`/creditsUsed example in Step 3 and again under 'Pricing: Prefer API-Reported Cost', and the closing checklist restates the steps. Efficient with minor trimmable redundancy, not lean throughout.

4 / 5

Actionability

Every step ships copy-paste-ready TypeScript (BYOKProviderId union, hosting config, getCost variants, hideWhenHosted subblocks, duplicate-subblock exclusion pattern, PROVIDERS entry), exact file paths, the env-var key-count convention, and a reference implementation pointer (`blocks/blocks/google_maps.ts`).

5 / 5

Workflow Clarity

A clear 6-step sequence with an overview table, explicit ordering constraints (research pricing 'Before writing any getCost or rateLimit code', summary 'After all code changes'), an end checklist, and a throw-on-missing-cost guard. Falls short of 5 because there is no explicit build/test/verify checkpoint to confirm the changes compile or behave.

4 / 5

Progressive Disclosure

A single well-sectioned file with clear headings, an overview table, and no nested references; no bundle files exist, and the only cross-references are to real repo source paths. Some content (the Step 2 research checklists and Step 6 output template) could arguably live in a reference file, but keeping it inline for a one-workflow skill is a minor gap.

4 / 5

Total

17

/

20

Passed

Description

87%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A tight, third-person description that states the concrete capability and its billing semantics, plus an explicit path-scoped 'Use when' trigger. Its only gaps are unlisted sub-tasks and missing BYOK synonyms.

DimensionReasoningScore

Specificity

The description names a concrete action ('Add hosted API key support to a tool') with specific concrete details ('Sim provides the key (metered and billed to the workspace)', 'adding a `hosting` config to a tool under `apps/sim/tools/{service}/`'), but it covers one primary action rather than the several sub-tasks (pricing, rate-limit, BYOK UI) the skill actually performs.

4 / 5

Completeness

Clearly answers both what ('Add hosted API key support... so Sim provides the key (metered and billed to the workspace) when a user has not brought their own') and when (explicit 'Use when adding a `hosting` config to a tool under `apps/sim/tools/{service}/`') with a concrete trigger phrase.

5 / 5

Trigger Term Quality

Good natural trigger terms ('hosted API key', 'API key support', 'hosting config', tool/{service} path) that a user of this codebase would say, but misses common variations like 'BYOK' or 'bring your own key'.

4 / 5

Distinctiveness Conflict Risk

A clear niche (hosted-key hosting config for Sim tools) with a path-scoped trigger clause; minimal risk of firing for unrelated skills.

5 / 5

Total

18

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
simstudioai/sim
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.