answer-as-type

answer-as-type is a skill for Claude Code from MK27MK/no-bs-skills. It costs 14 tokens per session (831 once invoked), scanned A, original, MIT.

An instruction for returning only a function’s value instead of an explanation in prose. It also defines simple output formats such as a boolean, number, string, list, or set.

In plain words
What is it for?
Use it for function calls where the response must be only the requested value, such as a count, path, yes-or-no result, or list.
Why use it?
It prevents extra wording when a caller needs a precise machine-readable answer.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Part of the no-bs-skills plugin — 4 skills shipped together

Good fit Use it for function calls where the response must be only the requested value, such as a count, path, yes-or-no result, or list.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mk27mk/no-bs-skills/answer-as-type
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.

Any agent
npx skills add MK27MK/no-bs-skills --skill answer-as-type
Clone the repo
git clone --depth 1 https://github.com/MK27MK/no-bs-skills

Made for: Claude Code.

Or install no-bs-skills, the plugin that ships this one along with the rest of its 4 skills.

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 answer-as-type

README.md
[![agentmods](https://agentmods.dev/badge/skills/mk27mk/no-bs-skills/answer-as-type/github.svg)](https://agentmods.dev/skills/mk27mk/no-bs-skills/answer-as-type)
Your own site
<a href="https://agentmods.dev/skills/mk27mk/no-bs-skills/answer-as-type"><img src="https://agentmods.dev/badge/skills/mk27mk/no-bs-skills/answer-as-type/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for answer-as-type

Your own site · 80×15
<a href="https://agentmods.dev/skills/mk27mk/no-bs-skills/answer-as-type"><img src="https://agentmods.dev/badge/skills/mk27mk/no-bs-skills/answer-as-type.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00014 $0.00831
Opus 5 $0.00007 $0.00415
Sonnet 5 $0.00003 $0.00166
Haiku 4.5 $0.00001 $0.00083

Measured 8d ago against content hash 48b8334403c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

answer-as-type 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 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (check-value.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.

skills/answer-as-type/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Func

The user called a function. Return its value. Nothing else.

No preamble, no restatement of the question, no reasoning, no caveat, no unit, no trailing sentence.

  • IF the answer needs work first (read files, run a command, count something), THEN do the work with tools, and return only the value.
  • IF type is set, THEN return that type.
  • IF type is not set, THEN infer it from the question, using the table below.
  • IF the value cannot be computed, THEN return None and nothing else.

Return types

Type Format Infer it when the question asks for
bool true or false yes/no, is/are, does/do, can/should
int bare digits: 5 how many, count, index, line number
float bare decimal: 0.42 ratio, percentage, average, duration
str the bare string, no quotes a name, a path, a command, a single value
list numbered markdown list steps, an ordered procedure, a ranking
set bullet markdown list items where order carries no meaning
  • bool is true/false, never Yes/No.
  • int and float carry no unit, no thousands separator, no words. 5, not 5 sub-agents.
  • float keeps the precision the question implies. Do not pad zeros.
  • list and set items are values too: each one is short and bare, with no explanation attached.
  • Order matters in a list and never in a set. IF unsure which, THEN return a set.
  • NEVER wrap the value in a code fence unless the value is itself code.

The check

Before you deliver the value, run check-value.py from this skill's folder. Give it the value on stdin. IF type is set, THEN pass --type. IF type is not set, THEN pass --question with the question of the user, and the script infers the type.

Read the full file on GitHub · 87 lines

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. 8d ago First seen · 87 lines · 14 tokens per session scan A 48b8334403c9

Subscribe to this mod's changes

answer-as-type is a skill published in the GitHub repository MK27MK/no-bs-skills (2 stars, last pushed 10d ago), licensed MIT. It adds 14 tokens to every session and 831 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-31.

Related

Other skills, from other repositories

claude-code-session-broker

Use when running Arcgentic V2 in Claude Code and fixed Planner, Developer, and Auditor role sessions must be coordinated through a broker.

Arch1eSUN/Arcgentic · 35 tokens

arcgentic

Use when the user says Arcgentic, asks to use Arcgentic, or wants an idea taken through a complete plan → development → self-audit → external audit workflow in Codex.

Arch1eSUN/Arcgentic · 43 tokens

espalier-migrate

Migrate an existing harness/espalier install to the current Espalier version — auto-detects which of v0.1→v0.2, v0.3→v0.4, v0.4→v0.5, the v0.5.3 coder-agent patch, v0.5→v0.6 (Stage 1 grill), v0.6→v0.7 (read-only /espalier-ask lane), v0.7→v0.8 (requirements approval gate), the v0.8.1 impact-analysis agent patch, the…

Junhanliu-dev/espalier-engineering · 0 tokens

verify-gates

Runs the mechanical quality gates that the arcgentic state machine requires for state transitions. Invoked indirectly by transition.sh OR directly by orchestrator agent before declaring a state transition. Use when about to call transition.sh OR when manually verifying that a round artifact meets the gate criteria.…

Arch1eSUN/Arcgentic · 75 tokens

session-mode

Use when a project has not yet stored session mode, when a user asks for complete arcgentic workflow execution, or when role identity handoff prompts are needed.

Arch1eSUN/Arcgentic · 36 tokens

cross-session-handoff

Read, write, snapshot, and lock .arcgentic/state.yaml across planner, dev, audit, and optional test sessions.

Arch1eSUN/Arcgentic · 31 tokens