functest

functest is a skill for Claude Code, Codex from syy12335/Environment-Runtime. It costs 23 tokens per session (357 once invoked), scanned A, original, MIT.

A workflow task type for defining the target and focus of a functional test, which checks whether a feature works as intended. It passes that testing target into the workflow and reports whether the task succeeded or failed.

In plain words
What is it for?
Use it to specify the feature or object to test, the goal of the current test, and any particular concerns to examine.
Why use it?
It turns a testing request into a clear, specific target instead of leaving the workflow to decide what to test. It can also describe what to check when repeating a test after a failure.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/syy12335/environment-runtime/functest
Any agent
npx skills add syy12335/Environment-Runtime --skill functest
Clone the repo
git clone --depth 1 https://github.com/syy12335/Environment-Runtime

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for functest

README.md
[![agentmods](https://agentmods.dev/badge/skills/syy12335/environment-runtime/functest.svg)](https://agentmods.dev/skills/syy12335/environment-runtime/functest)
Your own site
<a href="https://agentmods.dev/skills/syy12335/environment-runtime/functest"><img src="https://agentmods.dev/badge/skills/syy12335/environment-runtime/functest.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 357 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00023 $0.00357
Opus 5 $0.00012 $0.00179
Sonnet 5 $0.00005 $0.00071
Haiku 4.5 $0.00002 $0.00036

Measured 4d ago against content hash d894dbfec7a7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

functest scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/task_router_graph/skills/controller/functest/SKILL.md · 38 lines

What it actually says

Functest Workflow Type

定位

  • functest 用于生成“功能测试目标(target)”。
  • controller 负责确定:本轮测什么、围绕什么测、重点朝哪个方向测。
  • 该 type 命中后会直接进入 workflow,不再交给 executor agent loop。

场景步骤模板

  1. 明确对象的直接功能测试:直接 generate_task(functest)
  2. 带关注点的功能测试:把用户显式关注点写入 task_content
  3. 基于失败点复测:可使用 previous_failed_track {} 补全事实后 generate_task(functest)
  4. 对象不明确:必要时 build_context_view 后再生成任务。

生成原则

  • task_content 是当前任务 target,不是完整执行配置。
  • 写清测试对象、本轮目标、必要关注方向。
  • 对“对象明确、任务类型明确”的请求,不得默认继续 observe。

Workflow I/O

  • 入口:scripts/run.py
  • 调用:run(*, task_content: str) -> dict
  • 返回:{"task_status": "done|failed", "task_result": "..."}
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 38 lines · 23 tokens per session scan A d894dbfec7a7

Subscribe to this mod's changes

functest is a skill published in the GitHub repository syy12335/Environment-Runtime (127 stars, last pushed 3mo ago), licensed MIT. It adds 23 tokens to every session and 357 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.