new-app
できること
最初のエージェント、スキーマ、実行可能なメインファイルを含む、新しいAtomic Agentsプロジェクトを作成します。Pythonで新しいエージェントプロジェクトを始める開発者向けです。
使う場面
- ✓Atomic Agentsのプロジェクトをゼロから始めたい開発者が必要とするとき。
- ✓土台にできる、動くスターター用のエージェントがほしいとき。
- ✓uvまたはpipで、プロジェクトの構成を自動で決めてほしいとき。
スキルのリンク
https://github.com/Eigenwise/atomic-agents/blob/main/claude-plugin/atomic-agents/skills/new-app/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“OpenAIを使い、support-botという名前のAtomic Agentsプロジェクトを新規作成して、動くことを確認してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、名前、プロバイダー、エージェントの種類、ツールなどについていくつか質問します。計画を確認したあと、1つのエージェント、スキーマ、エントリーポイントを含むプロジェクトを作成します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
New Atomic Agents Project
Scaffold a fresh Atomic Agents project. The result is a single-package Python project with one working agent, one schema pair, a provider-wrapped client, and a runnable main.py.
This skill is opinionated. Produce a complete, tested skeleton the user can run immediately.
Phase 1 — Interrogate
Ask these questions in one message, not one-at-a-time. Skip any the user already answered (including via $ARGUMENTS).
- Project name — used as both directory name and package name. Default from
$ARGUMENTSif provided. Normalize tokebab-casefor the directory andsnake_casefor the package. - LLM provider — OpenAI / Anthropic / Groq / Ollama / Gemini / OpenRouter / MiniMax. Default: OpenAI.
- Agent type — a rough one-liner. Shapes the default
SystemPromptGeneratorcontent and the starter schema pair. Defaults to a generic chat agent. - Tooling —
uv(default, because the repo uses uv) orpip + venv.
Do not ask about project layout, Python version, or dependency list. Pick them.
Phase 2 — Confirm the plan
State the plan in one short block and wait for a yes. Include:
- Directory:
<project-name>/ - Package:
<project_name>/ - Python:
>=3.12(Atomic Agents uses PEP 695 generics) - Dependencies:
atomic-agents>=2.7,instructor[<provider-extra>]>=1.14,python-dotenv,rich - Dev dependencies:
pytest,pytest-asyncio,ruff - First agent:
<agent-type>— usesBasicChatInputSchema/BasicChatOutputSchemaunless the agent type calls for custom schemas - Default model for the chosen provider (see
framework/references/providers.md) - Entry point:
main.pywith a REPL
Phase 3 — Scaffold
Create files in this order. Verify each step before proceeding.
Directory and package
<project-name>/
├── pyproject.toml
├── .env.example
├── .gitignore
├── README.md
├── AGENTS.md
├── CLAUDE.md
└── <project_name>/
├── __init__.py
└── main.py
pyproject.toml
Use the template from framework/references/project-structure.md, substituting the chosen provider extra and project name.
.env.example
Include the provider's API-key variable with a placeholder. Never the real key.
.gitignore
Use the template from framework/references/project-structure.md.
<project_name>/main.py
Produce a runnable REPL. Load .env, instantiate the provider client per framework/references/providers.md, build an agent, wire a ChatHistory with a seed assistant message, loop on console.input(...).
For the agent itself, follow the workflow from the atomic-agents:create-atomic-agent skill — same canonical imports, same per-provider mode matrix, same SystemPromptGenerator shape.
When a custom agent type was requested, build custom InputSchema / OutputSchema subclasses with field description= populated, following the atomic-agents:create-atomic-schema skill. Otherwise use BasicChatInputSchema / BasicChatOutputSchema.
Always use the canonical imports:
from atomic_agents import (
AtomicAgent, AgentConfig,
BasicChatInputSchema, BasicChatOutputSchema,
)
from atomic_agents.context import ChatHistory, SystemPromptGenerator
from instructor import Mode
Per-provider AgentConfig knobs — match the Instructor factory mode on AgentConfig.mode:
- OpenAI: defaults work. Omit
mode(or setMode.TOOLS). - Anthropic:
mode=Mode.TOOLS; includemax_tokensinmodel_api_parameters. - Groq / Ollama / MiniMax:
mode=Mode.JSON(Instructor factory also usesMode.JSON). - Gemini:
assistant_role="model"andmode=Mode.GENAI_TOOLS(Instructor factory usesMode.GENAI_TOOLS). - OpenRouter:
mode=Mode.TOOLS.
README.md
Short. Include: what the project is, how to install (uv sync or pip install -e .[dev]), how to set the API key (cp .env.example .env and edit), how to run (uv run python -m <project_name>.main or equivalent).
AGENTS.md and CLAUDE.md
Every scaffolded project ships agent instructions so any coding assistant (Cursor, Codex, Copilot, Gemini CLI, ...) knows the framework conventions from the first commit. CLAUDE.md contains exactly one line — @AGENTS.md — so Claude Code reads the same file without duplication.
AGENTS.md template (substitute project specifics):
# <Project Name>
<One-line description from the agent-type answer.>
Built with [Atomic Agents](https://github.com/eigenwise/atomic-agents) — a schema-driven
framewor
よくある質問
必要なPythonのバージョンは何ですか?
スキルは、Python 3.12以降が必要だと説明しています。フレームワークが新しいジェネリック構文を使うためです。
どのAIプロバイダーを設定できますか?
OpenAI、Anthropic、Groq、Ollama、Gemini、OpenRouter、MiniMaxを設定できます。
パッケージ管理ツールは必要ですか?
スキルは既定でuvを使います。もう一つの選択肢はpipとvenvです。
詳細
作者による元の説明
Scaffold a new Atomic Agents project from scratch — create the directory, `pyproject.toml`, env file, first agent, and a runnable entry point. Use when the user asks to start a new atomic-agents project from scratch, says "scaffold" / "new project" / "start from zero", or runs `/atomic-agents:new-app`.
repo: Eigenwise/atomic-agents
人気
- GitHubのスター
- 6.3k
- ランキング
- #14242
- ライセンス
- MIT
- 更新日
- 2026/10/29
コメント
- …
このリポジトリの他のスキル
create-atomic-agent
6.3kエージェントが、型付きの入力と出力、システムプロンプト、選んだAIプロバイダーを持つ新しいAtomic Agentsのエージェントを作れるよう支援します。
create-atomic-context-provider
6.3kエージェントが、Atomic Agentsのエージェントにコンテキストのプロバイダーを追加し、時刻や取得した文書などの新しい詳細がプロンプトに現れるよう支援します。
create-atomic-schema
6.3kエージェントが、明確なフィールドの説明とともに、Atomic Agentsのエージェントとツールのための型付きの入力と出力のスキーマを設計できるよう支援します。
create-atomic-tool
6.3kAtomicAgentsアプリ向けに、エージェントが呼び出せる型付きツールを作成するのを支援します。
似ているスキル
diffs
394k編集内容の実際の共有可能な差分を、手書きの要約ではなく、ビューアーのリンクや画像ファイルとして作成するようエージェントを支援します。
coding-agent
394kCodex、Claude Code、OpenCodeに大きめのコーディング作業をバックグラウンドのワーカーとして渡し、その進捗を確認するようエージェントを支援します。
gh-issues
394kGitHubのイシューを探し、取り組むものを選び、修正を含むプルリクエストを開くようエージェントを支援します。レビューコメントへの対応も含みます。