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.
npx agentmods add skills/archastro/archagents/build-scriptnpx skills add ArchAstro/archagents --skill build-scriptgit clone --depth 1 https://github.com/ArchAstro/archagentsWhat 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.
| Model | Per session | Once 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 |
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- archagent-build-script — 94% identical, 11 lines differ
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
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.
- 2d ago First seen · 298 lines · 68 tokens per session scan A c22041e340f5
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.
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.
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
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"…
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.
skill-creator
Create, structure, and validate new skills. Use when designing a skill, scaffolding a skill directory, or improving an existing skill.
docx
Read, create, and convert Microsoft Word (.docx) documents — extract text and tables, build reports from markdown/JSON, and export to PDF.