Skip to content

Commit 4a002e3

Browse files
Merge pull request #33 from amd/dholanda/dogfooding
Create initial repo walkthroughs (for dev trials)
2 parents dabd23a + 1a910b1 commit 4a002e3

2 files changed

Lines changed: 53 additions & 0 deletions

File tree

walkthroughs/README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# AMD Skills Walkthroughs
2+
3+
## Requirements
4+
5+
This collection of walkthroughs assume you already have `claude code` setup on your machine.
6+
7+
Participatns using other are still encouraged to participate. Just please note that you may have to adapt some of the instructions provided below to your specific agent.
8+
9+
Please choose a skill to get started.
10+
11+
* [local-ai-use](./local-ai-use.md): Teach your agent how to run image generation locally.

walkthroughs/local-ai-use.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# AMD Skills Walkthroughs: `local-ai-use`
2+
3+
The goal of this skill is to teach your AI agent to use image generation, text generation, and text to speech locally.
4+
5+
6+
## Step 1 - Understanding which skills are available
7+
8+
* Run `claude "Which skills can you see?" --model sonnet`. You should see a list of skills that should not include anythink related to local LLM usage.
9+
* Make sure there is no `AFENTS.md` file on your local folder.
10+
11+
## Step 2 - Enabling claude to see `local-ai-use`
12+
13+
In the future this will be enabled directly through claude's marketplace. For now, we have to manually add it.
14+
15+
* Clone `https://github.com/amd/skills`
16+
* Move the `local-ai-use` skill from the repo to `.claude/skills/`
17+
* Run `claude "Which skills can you see?" --model sonnet`. You should see a list of skills that includes `local-ai-use`.
18+
19+
## Step 3 - Running the skill
20+
21+
Open Claude and run the prompt:
22+
```
23+
Learn how to do image generation locally
24+
```
25+
26+
Followed by
27+
```
28+
Generate the image of a cat
29+
```
30+
31+
Claude should install Lemonade locally on your device and allow you to generate images locally after the first setup run.
32+
33+
## Step 4 - (Optional) Going beyond
34+
35+
The `local-ai-use` can also help you with text to speech and speech to text locally. Simply ask claude for help there.
36+
37+
## Step 5 - (Optional) Try to get things done without AMD Skills
38+
39+
Remove the added skills from `.claude/skills/` and rerun the experiment above. This should lead to a high variance in execution length and token usage.
40+
* Model being successful after significant token usage.
41+
* Model providing a knowledge article instead of actually learning how to do it.
42+
* Model attempting to come up with a custom strategy to generate images locally, resulting in very low-quality assets.

0 commit comments

Comments
 (0)