# AI skills for coding agents: turning team standards into verified packs

> What an AI skill is, why copy-pasted prompts drift across teams, and how Nested packages SKILL.md files, MCP servers, and formulas into verified packs.

Published: 2026-12-04 · Topics: Agents, Knowledge, Product · Canonical: https://nested.me/blog/ai-skills-and-packs-for-coding-agents

## Why prompts fail at team scale

Every team using artificial intelligence for coding starts the same way: engineers paste long instructions into chat, keep personal prompt files in dotfiles, and hope every coding agent remembers the team’s testing rules, migration checklist, and deployment conventions.

Prompts work for one person on one afternoon. They break across ten engineers and five agents because nobody knows which version is current, nothing checks whether an instruction file is valid, and every new agent starts from scratch.

An **AI skill** turns recurring engineering know-how into a small, focused, versioned document (`SKILL.md`) that an agent loads on demand when a job matches it.

## How an AI skill works in Nested

In Nested, an AI skill lives at `skills/<id>/SKILL.md` (with optional helper scripts or references) inside a **pack** — a verified, versioned `.tar.gz` archive with a `PACK.yaml` manifest.

| Capability inside a pack | Path | What it gives the AI coding agent |
| --- | --- | --- |
| **AI Skills** | `skills/<id>/SKILL.md` | Focused playbooks for one kind of job (testing, refactoring, Kubernetes, releases) |
| **Subagents** | `subagents/<id>.md` | Specialist roles the agent can delegate part of a task to |
| **Formulas** | `formulas/<id>.yaml` | Checked multi-step workflows with typed gates and human approvals |
| **MCP servers** | `mcp/<id>.json` | Model Context Protocol tool servers declared without literal secrets |
| **Setup & guides** | `setup/*.sh`, `guide/*.md` | Idempotent tool installs and fragments merged into `AGENTS.md` / `CLAUDE.md` |

Every capability in a pack can declare a `when` condition, so an AI skill only loads when the agent actually has the matching environment, knowledge center, or formula.

## Verified before any agent loads it

Nested treats packs and AI skills as untrusted input. Verification runs locally via `packctl verify`, again on upload, and a third time when an agent boots:

- Unknown manifest fields, symlinks, hard links, and `..` archive paths are rejected.
- Literal API keys, tokens, or private keys inside `process.env` or MCP declarations fail verification — secrets are declared as variable names and bound separately per agent.
- Any formula shipped alongside skills is statically compiled before upload.
- If an attached pack fails to load at boot, the agent refuses to start with half its capabilities.

## Authoring, importing from Git, and sharing globally

You do not have to hand-craft archives to build AI skills:

1. Open the [Pack builder](https://nested.me/docs/pack-builder) to start from a template, describe a pack, or **import existing skills directly from a Git repository**.
2. Publish a numbered revision as **Private**, **Team**, or **Global** in the catalog.
3. Attach the pack to any Cursor, Claude Code, Kimi CLI, or ACP agent in [Agent settings](https://nested.me/docs/agent-settings).

Global packs let one platform team maintain verified AI skills and share them across every team without copy-pasting files — see [Global packs and self-checking code review](https://nested.me/blog/global-packs-code-review-and-more) and [Packs: portable, verified capabilities](https://nested.me/blog/packs-portable-agent-capabilities).

## Skills vs memories vs knowledge centers

Teams often ask where a new rule belongs:

- Put reusable engineering methods (how to write tests, review PRs, run Helm) in an **AI skill** inside a pack.
- Put shared repository docs, architecture notes, and runbooks in a [shared knowledge center](https://nested.me/docs/knowledge).
- Put personal preferences and lessons from your own tasks in your [memories](https://nested.me/docs/memory). See [How Nested agents remember](https://nested.me/blog/memories-and-knowledge-centers).

## Questions

### What is an AI skill in Nested?

An AI skill is a focused SKILL.md instruction file (with optional helper files) that teaches a coding agent how to do one repeatable engineering job. Skills are packaged, verified, and versioned inside packs.

### Can I import existing AI skills from Git into Nested?

Yes. The Pack builder lets you import skills directly from a Git repository, verify the archive, and publish numbered revisions to your team or the global catalog.

### Do AI skills work across Cursor, Claude Code, and Kimi CLI?

Yes. Nested loads the same pack skills, guide fragments, formulas, and MCP servers into whichever ACP coding agent you deploy.

### Can an AI skill pack contain hardcoded API keys?

No. Pack verification rejects literal secrets and private keys. Packs declare required environment variable names, and you bind secrets separately per agent.
