You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Skill files, auto-discovery, GitHub import, and the Agent Skills standard"
3
+
description: "Skill files, sections, auto-discovery, GitHub import, and the Agent Skills standard"
4
4
---
5
5
6
6
<!--
@@ -21,97 +21,164 @@ description: "Skill files, auto-discovery, GitHub import, and the Agent Skills s
21
21
22
22
## Overview
23
23
24
-
Skills are reusable units of agent behavior — a system prompt, a set of tools, and configuration packaged together. Atmosphere discovers skill files automatically and makes them available to `@Agent` classes.
24
+
A skill file is a **Markdown document** that becomes the agent's system prompt. Specific sections (`## Tools`, `## Skills`, `## Channels`, `## Guardrails`) are also parsed for protocol metadata — they populate the A2A Agent Card, MCP server info, and channel routing.
25
25
26
26
## Skill File Format
27
27
28
-
A skill file is a YAML document placed at `META-INF/skills/` on the classpath. It defines the agent's personality, capabilities, and constraints.
29
-
30
-
```yaml
31
-
# META-INF/skills/code-reviewer.skills
32
-
name: code-reviewer
33
-
description: Reviews pull requests for correctness and style
34
-
version: 1.0.0
35
-
36
-
system_prompt: |
37
-
You are a senior code reviewer. Focus on correctness, performance,
38
-
and readability. Be concise. Cite line numbers.
39
-
40
-
tools:
41
-
- name: readFile
42
-
description: Read a file from the repository
43
-
parameters:
44
-
path:
45
-
type: string
46
-
required: true
47
-
- name: listFiles
48
-
description: List files in a directory
49
-
parameters:
50
-
directory:
51
-
type: string
52
-
required: true
53
-
54
-
config:
55
-
temperature: 0.2
56
-
max_tokens: 4096
28
+
A skill file is plain Markdown. The `# Title` becomes the agent's display name. The body text becomes the system prompt verbatim. Named sections provide structured metadata.
29
+
30
+
```markdown
31
+
# Dr. Molar — Emergency Dental Assistant
32
+
33
+
You are Dr. Molar, a friendly dental emergency assistant.
34
+
You help patients who have broken, chipped, or cracked teeth.
|`## Guardrails`| Included in the system prompt and exported to MCP server info |
66
+
67
+
### Tool Cross-Referencing
68
+
69
+
At startup, the framework cross-references the `## Tools` section against `@AiTool` methods on the agent class. If a tool is listed in the skill file but no matching `@AiTool` method exists, a warning is logged:
70
+
57
71
```
72
+
WARN: Skill file lists tool 'assess_emergency' but no @AiTool method found
73
+
```
74
+
75
+
This catches typos and stale skill files.
58
76
59
77
## Auto-Discovery
60
78
61
-
Atmosphere scans `META-INF/skills/` on the classpath at startup. Any `.skills` file found is loaded and registered. No explicit configuration is needed — just place the file in the right location.
79
+
Atmosphere searches for skill files in this order:
80
+
81
+
1.`META-INF/skills/{agent-name}/SKILL.md` — preferred, can be packaged in JARs
82
+
2.`prompts/{agent-name}.md`
83
+
3.`prompts/{agent-name}-skill.md`
84
+
4.`prompts/skill.md` — fallback
85
+
86
+
No `skillFile` attribute needed — the framework matches by agent name automatically.
// auto-discovers prompts/dentist-skill.md or prompts/dentist.md
121
+
```
122
+
123
+
## Multi-Agent Skill Files
124
+
125
+
In a `@Coordinator` fleet, each agent has its own skill file. The coordinator also has one:
126
+
127
+
```
128
+
prompts/
129
+
ceo-skill.md # @Coordinator(name = "ceo")
130
+
research-skill.md # @Agent(name = "research")
131
+
strategy-skill.md # @Agent(name = "strategy")
132
+
finance-skill.md # @Agent(name = "finance")
133
+
writer-skill.md # @Agent(name = "writer")
82
134
```
83
135
84
-
If no `skillFile` attribute is specified, Atmosphere matches by convention — an agent named `code-reviewer` will pick up `META-INF/skills/code-reviewer.skills` if present.
136
+
Each specialist agent gets its own system prompt, tools, guardrails, and channel configuration. The coordinator's skill file describes the orchestration strategy.
85
137
86
138
## Importing Skills from GitHub
87
139
88
-
The Atmosphere CLI can import skills from GitHub repositories:
140
+
The Atmosphere CLI imports skills from GitHub and generates a complete Spring Boot project:
cd frontend-design && LLM_API_KEY=your-key ./mvnw spring-boot:run
147
+
# Open http://localhost:8080/atmosphere/console/
92
148
```
93
149
94
-
Imported skills are placed into your project's `META-INF/skills/` directory and are auto-discovered on the next build.
150
+
The import command:
151
+
1. Parses the Markdown into `@Agent` annotations
152
+
2. Extracts `## Tools` into `@AiTool` method stubs
153
+
3. Places the skill file at `META-INF/skills/` for auto-discovery
154
+
4. Generates a Spring Boot project that compiles and runs immediately
95
155
96
-
Over 1,200 skills are available in the public skill registry. Browse them at [github.com/Atmosphere/skills](https://github.com/Atmosphere/skills).
156
+
Compatible with [Anthropic](https://github.com/anthropics/skills), [Antigravity](https://github.com/sickn33/antigravity-awesome-skills) (1,200+ skills), [K-Dense AI](https://github.com/K-Dense-AI/claude-scientific-skills), and any repository following the [Agent Skills](https://agentskills.io/specification) format.
97
157
98
158
## Trusted Sources
99
159
100
-
By default, Atmosphere only loads skill files from the local classpath. To load skills from remote sources at runtime, configure trusted sources:
160
+
Remote imports are restricted to trusted sources by default. Use `--trust` for other URLs:
Atmosphere skill files follow the **Agent Skills** standard — an open specification for portable agent skill definitions. Skills written for Atmosphere can be used by any runtime that supports the standard, and vice versa.
111
173
112
-
Key properties of the standard:
113
-
114
-
-**Portable** — skill files are runtime-agnostic YAML documents
115
-
-**Composable** — agents can combine multiple skills
116
-
-**Versioned** — each skill declares a semantic version
174
+
-**Portable** — pure Markdown, runtime-agnostic
175
+
-**Composable** — agents can reference multiple skill files
-[Dentist Agent sample](https://github.com/Atmosphere/atmosphere/tree/main/samples/spring-boot-dentist-agent) — skill file with tools, channels, and guardrails
184
+
-[Startup Team sample](https://github.com/Atmosphere/atmosphere/tree/main/samples/spring-boot-multi-agent-startup-team) — 5-agent fleet with coordinator skill
0 commit comments