build-script

A scripting helper for ArchAstro, a system where agents, workflow steps, and scheduled routines can run custom scripts.

In plain words
What is it for?
Use it to build custom tool handlers, workflow steps, or routine handlers with the ArchAstro script language.
Why use it?
It provides an authoring loop for creating, checking, running, and updating scripts instead of managing script resources by hand.

Skill for Claude CodeCodex

Part of the archagents plugin — 8 skills, 2 commands shipped together

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/archastro/archagents/build-script
Any agent
npx skills add ArchAstro/archagents --skill build-script
Clone the repo
git clone --depth 1 https://github.com/ArchAstro/archagents

Made for: Claude Code, Codex.

Or install archagents, the plugin that ships this one along with the rest of its 8 skills, 2 commands.

Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,503 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.00068 $0.02503
Opus 5 $0.00034 $0.01252
Sonnet 5 $0.00014 $0.00501
Haiku 4.5 $0.00007 $0.00250

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

Security

Grade A, and why

build-script 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 2d ago.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude-plugins/archagents/skills/build-script/SKILL.md · 298 lines

How it starts

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

ArchAstro Script Builder

Write, test, and deploy scripts — custom logic that powers agent tools, workflow nodes, and routines.

This skill assumes the ArchAgent CLI is already installed and authenticated. Use the /archagents:install and /archagents:auth commands in this same plugin instead of trying to install or authenticate the CLI manually inside this skill.

What is a Script?

Scripts are expression-oriented custom logic written in the ArchAstro script language. They can be used as:

  • Custom tool handlers: Agent calls a tool → script runs → result returned to agent
  • Workflow graph script steps: Script logic used inside a workflow graph
  • Routine handlers: A scheduled routine runs the script directly

Scripts are first-class resources with their own CRUD, validation, and execution commands. Use the dedicated top-level script resource for the normal authoring loop: archagent list scripts, describe script, create script, update script, validate script, run script, and describe scriptdocs.

Always Start with State

Every invocation must begin by understanding the current context:

archagent auth status
archagent list scripts

Determine:

  • Is the user creating a new script or editing an existing one?
  • What will this script be used for? (tool, workflow node, routine)
  • What external APIs or data does it need to access?

Routing

User wants to write a new script

Phase 1: Get the language reference

Always start by fetching the live reference — do not write scripts from memory:

archagent describe scriptdocs

Use the top-level script commands, not describe configsample/validate config, for the normal authoring loop.

Create a script from a local source file:

archagent create script --id my-script --file ./scripts/my-script.agentscript

Or let the CLI start from its built-in sample if you do not pass --source or --file:

archagent create script --id my-script

Phase 2: Understand the requirements

Read the full file on GitHub · 298 lines

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. 2d ago First seen · 298 lines · 68 tokens per session scan A c22041e340f5

Subscribe to this mod's changes

build-script is a skill published in the GitHub repository ArchAstro/archagents (5 stars, last pushed 17d ago), licensed MIT. It adds 68 tokens to every session and 2,503 once invoked, about $0.0003 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

test-review

You are an expert DataHub test reviewer. Your role is to evaluate smoke tests and integration tests against established testing standards, identify issues, and provide actionable feedback.

datahub-project/datahub · 0 tokens

create-agent

Help users create and configure openma managed agents through conversation. Trigger when users say "create an agent", "I need an agent that...", "set up an agent for", "build me a bot", or describe a task to automate. Also trigger for "Create with AI" from Dashboard. Also use when users ask about the openma platform…

openma-ai/open-managed-agents · 90 tokens

openma

Use the openma platform to build, deploy, and manage AI agents. Trigger when users want to create agents, start sessions, manage environments, configure model cards, handle vaults/credentials, install skills, connect MCP servers, or interact with the openma HTTP API. Also trigger when users mention "oma", "openma"…

openma-ai/open-managed-agents · 87 tokens

openhermit-admin

Explain what OpenHermit is and how to deploy and administer it — setup, CLI, gateway, agent config, API. Use when the user asks about installing, operating, or administering an OpenHermit deployment. For how agents behave for their owners/users/guests, see openhermit-guide.

HCF-STUDIOS/openhermit · 66 tokens

skill-creator

Create, structure, and validate new skills. Use when designing a skill, scaffolding a skill directory, or improving an existing skill.

HCF-STUDIOS/openhermit · 31 tokens

docx

Read, create, and convert Microsoft Word (.docx) documents — extract text and tables, build reports from markdown/JSON, and export to PDF.

zhixuli0406/DuDuClaw · 34 tokens