-
Notifications
You must be signed in to change notification settings - Fork 2.8k
docs: add Summon extension tutorial and update Skills references #7310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,138 @@ | ||
| --- | ||
| title: Summon Extension | ||
| description: Load skills and delegate tasks to subagents | ||
| --- | ||
|
|
||
| import Tabs from '@theme/Tabs'; | ||
| import TabItem from '@theme/TabItem'; | ||
| import { PlatformExtensionNote } from '@site/src/components/PlatformExtensionNote'; | ||
| import GooseBuiltinInstaller from '@site/src/components/GooseBuiltinInstaller'; | ||
|
|
||
| The Summon extension lets you load knowledge into goose's context and delegate tasks to [subagents](/docs/guides/subagents). | ||
|
|
||
| You can load different types of sources: | ||
| - [**Skills**](/docs/guides/context-engineering/using-skills) - Reusable instruction sets that teach goose specific workflows | ||
| - [**Recipes**](/docs/guides/recipes) - Automated task definitions with prompts and parameters | ||
|
|
||
| This is useful for teaching goose how to perform tasks and running work in parallel through subagents. | ||
|
|
||
| :::info | ||
| This extension is available in v1.25.0+. | ||
| ::: | ||
|
|
||
| ## Configuration | ||
|
|
||
| <PlatformExtensionNote/> | ||
|
|
||
| <Tabs groupId="interface"> | ||
| <TabItem value="ui" label="goose Desktop" default> | ||
| <GooseBuiltinInstaller | ||
| extensionName="Summon" | ||
| description="Load knowledge and delegate tasks to subagents" | ||
| /> | ||
| </TabItem> | ||
| <TabItem value="cli" label="goose CLI"> | ||
|
|
||
| 1. Run the `configure` command: | ||
| ```sh | ||
| goose configure | ||
| ``` | ||
|
|
||
| 2. Choose to `Toggle Extensions` | ||
| ```sh | ||
| ┌ goose-configure | ||
| │ | ||
| ◇ What would you like to configure? | ||
| │ Toggle Extensions | ||
| │ | ||
| ◆ Enable extensions: (use "space" to toggle and "enter" to submit) | ||
| // highlight-start | ||
| │ ● summon | ||
| // highlight-end | ||
| └ Extension settings updated successfully | ||
| ``` | ||
| </TabItem> | ||
| </Tabs> | ||
|
|
||
| ## Example Usage | ||
|
|
||
| In this example, we'll create a custom skill that teaches goose a 90s web aesthetic, then use Summon to load that skill and delegate a subagent to build a retro homepage. | ||
|
|
||
| ### Create a Skill | ||
|
|
||
| ```markdown title=".agents/skills/retro/SKILL.md" | ||
| --- | ||
| name: retro | ||
| description: Creates content with 90s web aesthetic | ||
| --- | ||
|
|
||
| # Retro Web Guidelines | ||
|
|
||
| Channel the 90s internet: | ||
| 1. Bright colors, especially neon | ||
| 2. Comic Sans or pixel fonts | ||
| 3. Animated GIF energy (use emojis as a substitute) | ||
| 4. "Under construction" vibes | ||
| 5. Visitor counters, guestbook mentions | ||
| 6. Marquee-style excitement | ||
| ``` | ||
|
|
||
| ### goose Prompt | ||
|
|
||
| ``` | ||
| Load the retro skill with summon. Then delegate a subagent to create an HTML page called my-site.html for a personal homepage. | ||
| ``` | ||
|
|
||
| ### goose Output | ||
|
|
||
| ``` | ||
| ─── load | summon ─────────────────────────────────────────── | ||
| source: retro | ||
|
|
||
| # Loaded: retro (skill) | ||
|
|
||
| ## retro (skill) | ||
|
|
||
| Creates content with 90s web aesthetic | ||
|
|
||
| ### Content | ||
|
|
||
| # Retro Web Guidelines | ||
|
|
||
| Channel the 90s internet: | ||
| 1. Bright colors, especially neon | ||
| 2. Comic Sans or pixel fonts | ||
| 3. Animated GIF energy (use emojis as substitute) | ||
| 4. "Under construction" vibes | ||
| 5. Visitor counters, guestbook mentions | ||
| 6. Marquee-style excitement | ||
|
|
||
| --- | ||
| This knowledge is now available in your context. | ||
|
|
||
|
|
||
| ─── delegate | summon ─────────────────────────────────────── | ||
| instructions: Create an HTML file called my-site.html for a personal homepage | ||
| using the 90s web aesthetic... | ||
|
|
||
| I've created your 90s-style personal homepage at `my-site.html`! 🌟 | ||
|
|
||
| The page includes all the classic retro web elements: | ||
|
|
||
| - **Marquee tags** - Scrolling welcome message and bouncing text | ||
| - **Neon colors** - Hot pink, lime green, cyan, yellow on a navy blue background | ||
| - **Comic Sans font** - The quintessential 90s typeface | ||
| - **Visitor counter** - You're visitor #001337 with a blinking effect | ||
| - **"Under Construction" section** - With 🚧 emojis | ||
| - **About Me box** - With neon border styling | ||
| - **Favorite Links table** - Classic link collection | ||
| - **Guestbook section** - Sign and view options | ||
| - **Retro badges** - "Best viewed in Netscape Navigator 4.0" | ||
| - **Lots of emojis** - 🌟✨💫🔥⭐🌈🎉 throughout | ||
|
|
||
| Open it in your browser to experience the full nostalgic glory! 🎉 | ||
| ``` | ||
|
|
||
| ### Results | ||
|
|
||
|  |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.