-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ed0305d
commit 1b2c586
Showing
12 changed files
with
166 additions
and
20 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -18,3 +18,4 @@ | |
/tools_vector_store/tools.db | ||
/tools_vector_store/chroma_db/ | ||
/docker-mcp-server.out | ||
/**/.DS_Store |
Binary file not shown.
This file contains 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,25 @@ | ||
--- | ||
description: Examples for creating resources in Claude Desktop | ||
model: claude-3-5-sonnet-20241022 | ||
tools: | ||
- name: append-insight | ||
description: Add a business insight to the memo | ||
parameters: | ||
type: object | ||
properties: | ||
insight: | ||
type: string | ||
description: Business insight discovered from data analysis | ||
container: | ||
image: vonwig/bash_alpine | ||
command: | ||
- "-c" | ||
- "echo '{{insight|safe}}' >> /mcp/insights.txt" | ||
volumes: | ||
- "mcp-test:/mcp" | ||
prompt-format: django | ||
--- | ||
|
||
# prompt user | ||
|
||
Add a business insight of 'some great data' |
This file contains 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,9 @@ | ||
--- | ||
tools: | ||
- name: imagemagick | ||
--- | ||
|
||
# prompt user | ||
|
||
Use Imagemagick to convert the prompts/examples/imagemagick/*.svg files into a png images. | ||
|
This file contains 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,11 @@ | ||
--- | ||
tools: | ||
- name: qrencode | ||
--- | ||
|
||
# Prompt user | ||
|
||
Read the man page for qrencode | ||
|
||
Now construct a large QR Code in svg format for the url `https://www.docker.com` and save it to a file named docker.svg | ||
|
This file contains 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,42 @@ | ||
--- | ||
model: claude-3-5-sonnet-20241022 | ||
tools: | ||
- name: read_file | ||
description: | | ||
read a file from disk | ||
Read the complete contents of a file from the file system. | ||
Handles various text encodings and provides detailed error messages | ||
if the file cannot be read. Use this tool when you need to examine | ||
the contents of a single file. Only works within allowed directories. | ||
parameters: | ||
type: object | ||
properties: | ||
path: | ||
type: string | ||
container: | ||
image: vonwig/bash_alpine | ||
entrypoint: cat | ||
command: | ||
- "{{path|safe}}" | ||
- name: write_file | ||
description: | | ||
Create a new file or completely overwrite an existing file with new content. | ||
Use with caution as it will overwrite existing files without warning. | ||
Handles text content with proper encoding. Only works within allowed directories. | ||
parameters: | ||
type: object | ||
properties: | ||
path: | ||
type: string | ||
content: | ||
type: string | ||
container: | ||
image: vonwig/bash_alpine | ||
command: | ||
- "-c" | ||
- "echo {{content|safe}} > {{path|safe}}" | ||
--- | ||
|
||
# prompt user | ||
|
||
read the file deps.edn and then write the string "blah.txt" into the file test.txt |
This file contains 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 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,13 @@ | ||
--- | ||
description: Add a new capability to your desktop | ||
tools: | ||
- name: curl | ||
prompt-format: django | ||
parameter-values: | ||
image: mcp/puppeteer | ||
--- | ||
|
||
# prompt user | ||
|
||
Use curl and the dockerhub api to fetch the full_description for the {{image}} image. | ||
Then read the full description and just extract the json definition for how to configure it. |
This file contains 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,19 @@ | ||
--- | ||
extractors: | ||
- name: project-facts | ||
url: http://host.docker.internal:11434/v1/chat/completions | ||
model: llama3.2 | ||
stream: false | ||
--- | ||
|
||
# Example prompt | ||
Use top-level markdown headers to separate your markdown file into blocks. Since this section doesn't\ have a title starting with `prompt`, it doesn't get sent to the LLM. | ||
|
||
# Prompt system | ||
You are an assistant who can write comedic monologues in the style of Stephen Colbert. | ||
|
||
# Prompt user | ||
Tell me about my project. | ||
|
||
My project uses the following languages: | ||
{{project-facts.languages}} |
This file contains 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,17 @@ | ||
--- | ||
mcp: | ||
- mcp/fetch | ||
- mcp/filesystem | ||
model: claude-3-5-sonnet-20241022 | ||
--- | ||
|
||
# prompt user | ||
|
||
My nix configuration is at /Users/slim/slimslenderslacks/nixos-config. | ||
|
||
My home manager configuration is at the relative path ./users/slim/home-manager.nix. | ||
|
||
Read and then update the flake.nix in the root of this project to add an input for ghostty. | ||
Use the content at https://www.reddit.com/r/NixOS/s/7qH6JhQNF to figure out how to do this. | ||
|
||
Ready and then update my home manager configuration to add ghostty to my default profile. |
Binary file not shown.
This file contains 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