Initial import of all source code, config, and README assets: the packages workspace (cli, core, server, web, docs, landing, skills), build scripts, tooling config, and CI workflows. Includes the data-layout revision made on this branch: the local data root defaults to ~/.penguin/data (PENGUIN_HOME still overrides; the installer keeps its binaries in ~/.penguin), and every Agent lives under <project>/agents/<agent>/ — path helpers, the three agent-enumeration scans, the system prompt, built-in Skills, tests and docs all follow the new layout. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018ihk8iQuo3kv2aPjAYEPuR
4.9 KiB
title, description
| title | description |
|---|---|
| Skills | Skills package reusable instructions as directories with a SKILL.md — metadata up front, body on demand, editable by the Agent itself. |
Anatomy of a Skill
A Skill is a directory containing a SKILL.md, optionally with a custom icon.svg. The directory name is the authoritative skill name and must match ^[A-Za-z0-9_-]+$; a name in the frontmatter is overridden by it.
Frontmatter fields:
| Field | Meaning |
|---|---|
name |
Skill name, matching the directory name |
description |
English one-liner injected into the system prompt |
short_description / short_description_zh |
UI labels for compact spots such as cards; not injected into the prompt |
version |
Natural-number version, default 1 |
updated |
Update date |
---
name: my-skill
description: One-line English description injected into the system prompt.
short_description: Short UI label.
short_description_zh: 简短的中文标签。
version: 1
updated: 2026-07-17
---
# My Skill
Concrete steps, boundaries and acceptance criteria...
Parsing is tolerant: only key: value scalar lines inside the first --- block are recognized; a version that is not a natural number falls back to 1, and a missing updated defaults to empty.
Progressive loading
Skills follow an "index first, body on demand" design: the system prompt injects only each installed Skill's metadata (name + description) through the {{SKILL_METADATA}} placeholder, and instructs the model to read the matching SKILL.md in full via the shell before following it. There is no dedicated skill tool — reading the body is just one exec_command call (see Tools & Approval).
Chat can also pin skills explicitly: the message then starts with a <use_skills> block listing the skill names.
If a message only names a skill without a concrete task, the model is instructed to ask what is needed before starting.
Installation and storage
Installed Skills live under agent_state/skills/<name>/ inside the Agent State. The files are the source of truth: every read goes straight to disk with no cache, which makes Skills naturally editable.
- The built-in Agent
default_agentgets the whole library installed at initialization; - other Agents install on demand — through the Web UI's Skill library page, or via the SDK;
- installing writes the library
SKILL.mdverbatim (frontmatter included) and copies anyicon.svgalongside it.
The library ships as the npm package @prismshadow/penguin-skills, carrying the raw skills/ directory in the tarball; at runtime the package's skills/<name>/SKILL.md files are likewise the source of truth for library content.
Built-in library
The built-in Skills, by group (the group manifest is SKILL_GROUPS in packages/skills/src/index.ts; the library directory is the source of truth as Skills are added):
| Group | Skill | Purpose |
|---|---|---|
| Agent Development | agent-creation |
Turn a user requirement into a concrete agent: write the target agent's AGENTS.md and install the skills it needs |
benchmark-design |
Design and calibrate a multi-Case capability Benchmark with repeated independent evaluations and a traceable baseline | |
agent-evaluation |
Run and score exactly one Benchmark Case run, with CLI execution, Trace provenance checks and private Rubric isolation | |
agent-optimization |
Improve an Agent State from direct feedback or versioned multi-Case Benchmark scores and score-linked Traces | |
| Data Analysis | data-analysis |
Complete data-analysis tasks with bounded evidence inspection, explicit answer-changing decisions, native artifact handling and final output verification |
| Penguin Development | penguin-sdk |
Build AI apps on the SDK (the createSession/run streaming loop) |
penguin-cli |
Manage model API keys, default models and per-agent Vault secrets with the penguin CLI | |
agenthub-models |
Call model APIs through @prismshadow/agenthub: streaming text, image generation, speech synthesis and embeddings |
|
| Web Development | web-design |
Default visual language for generated web pages: minimal black-white-gray |
| Software Engineering | software-engineering |
Complete software-engineering tasks: investigate and review code, implement fixes, features and refactors with minimal scope, validate changes, and report verified outcomes |
Writing and optimizing Skills
- Manual install: create a directory under
agent_state/skills/<name>/and write aSKILL.md; the system scansskills/when assembling the system prompt and injects the metadata. A directory without aSKILL.mddoes not count as a Skill. - Uninstalling deletes the whole
skills/<name>/directory and is idempotent. - An Agent can rewrite its own SKILL.md as part of a task — combined with Benchmark evaluation and optimization this closes the improvement loop, see Self-Improvement.