Skip to content
Agentmart
Submit a tool

build-skill

Use when the user wants to create, edit, or publish an ArchAstro skill — a reusable package of instructions and supporting files that agents can use.

Skill by ArchAstro

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/archastro-build-skill

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use when the user wants to create, edit, or publish an ArchAstro skill — a reusable package of instructions and supporting files that agents can use. Trigger phrases include "build a skill", "create a skill", "write a skill", "author a skill", "new skill", "skill template", "SKILL.md".

Use cases: writing

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/build-skill

What's inside

Skill name
build-skill
Description
Use when the user wants to create, edit, or publish an ArchAstro skill — a reusable package of instructions and supporting files that agents can use. Trigger phrases include "build a skill", "create a skill", "write a skill", "author a skill", "new skill", "skill template", "SKILL.md".
License
MIT
Instructions
181 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • allowed-tools: must be a space-separated string

Files (1)

  • SKILL.md

SKILL.md (first lines)

# ArchAstro Skill Builder

Create, edit, and publish skills — reusable instruction packages that agents invoke at runtime.

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

## What is a Skill?

A skill is a file-backed bundle anchored by a `SKILL.md` root file with optional supporting files. Skills use the same managed virtual-path model as scripts and workflows: skills live under `skills/<slug>/...`, scripts under `scripts/...`, and workflows under `workflows/...`. Agents invoke skills at runtime via the `get_skill` tool to load instructions on demand.

## Always Start with State

Every invocation must begin by understanding the current context:

```
archastro auth status
archastro list skills
```

Determine whether the user wants to:
- create a brand-new skill,
- edit an existing skill,
- or inspect a skill before modifying it.

## Routing

### CLI not installed or too old

Before any skill work, verify the CLI:

- Read `plugin-compatibility.json` from the plugin root.
- Prefer `plugins.archastro.minimumCliVersion`, fall back to the top-level `minimumCliVersion`.
- Run `archastro --version`. If missing or older than the resolved minimum, direct the user to `/archastro:install`.
- If authentication or app selection is missing, direct the user to `/archastro:auth`.

### User wants to create a new skill

Walk through the authoring flow step by step.

1. **Gather requirements**:
   - What should the skill do? (purpose and scope)
   - What trigger phrases should activate it? (for the description field)
   - Does it need supporting files (templates, schemas, reference docs)?
   - Which agent(s) will use it?

2. **Choose a slug**: Short, lowercase, hyphen-separated identifier (e.g., `order-lookup`, `weekly-report`). This becomes the skill's permanent key.

3. **Author the SKILL.md file locally**:

   Create a directory structure:
   ```
   skills/<slug>/
   ├── SKILL.md              # Root file (required)
   └── references/            # Optional supporting files
       └── example.md
   ```

   The SKILL.md must have YAML frontmatter:
   ```yaml
   ---
   name: <skill-name>
   description: <One-line description with trigger phrases. Be specific — this is how
     the agent decides when to invoke the skill. Include phrases like "use when...",
     "trigger phrases include...">
   ---

   # Skill Title

   Detailed instructions for the agent...
   ```

4. **Write effective skill instructions**:
   - **Be concrete**: Provide exact CLI commands, API calls, or code patterns the agent should use.
   - **Use phases**: Break complex workflows into numbered phases with clear entry/exit criteria.
   - **Include routing**: Tell the agent how to handle different user intents within the skill's scope.
   - **Add recovery rules**: What to do when things fail.
   - **Set response rules**: How terse or verbose the agent should be.
   - **Keep it narrow**: One skill, one job. If it's doing two things, split into two skills.

5. **Publish the skill to the platform**:

   **Option A — Via `deploy configs`** (recommended when working with a configs/ directory):

   Place the skill directory under `configs/skills/<slug>/` and deploy:
   ```
   archastro deploy configs
   ```
   This automatically creates the skill with name and description from the SKILL.md frontmatter, and publishes all supporting files as File configs. See the `manage-configs` skill for setting up the configs directory.

   **Option B — Via dedicated commands:**
   ```
   archastro create skill -n "<Name>" -d "<Description>" -s <slug> --file ./skills/<slug>/SKILL.md
   ```

   If there are supporting files, add them:
   ```
   archastro create skillfile <slug> references/example.md --file ./skills/<slug>/references/example.md
   ```

6. **Verify the skill was created**:
   ```
   archastro describe skill <slug>
   archastro describe skillfile <slug> SKILL.md
   ```

7. **Link the skill and enable runtime access**. Publishing a skill alone does not attach it to an agent. Both an AgentSkill link and the builtin `skills` tool are required:
   ```
   archastro describe skill <slug> --output json
   archastro list agentskills --agent <agent-id>
   archastro list agenttools --agent <agent-id>
   archastro create agentskill --agent <agent-id> --config <root-config-id>
   archastro create agenttool --agent <agent-id> --kind builtin --builtin-tool-key skills
   ```
   Read `rootConfigId` from the described skill. Reuse existing links and builtin tools instead of duplicating them. The builtin tool exposes `get_skill` at runtime. For deploy-managed agents, declare the skill in the AgentTemplate's `skills` block and include its builtin skills tool; obtain the exact schema with `archastro describe configsample AgentTemplate`.

8. **Verify runtime use**. Check `list agentskills` and `list agenttools`, then use the chat skill to exercise a request that should load the skill and inspect the conversation/tool result. File publication and linking alone do not prove the agent can use the package.

### User wants to edit an existing skill

From ArchAstro/archastro, MIT.

More from ArchAstro/archastro

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Sep 10, 2026 (1 month ago)
Last release
Oct 2, 2026 (27 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from ArchAstro

Cite this page

build-skill. Agent Mart. https://agentmart.dev/skills/archastro-build-skill (last updated 2026-10-24)