|
1 | | -# AMD Skills Dogfooding: `local-ai-use` |
| 1 | +# AMD Skills Dogfooding |
2 | 2 |
|
3 | | -The goal of this skill is to teach your AI agent to use image generation, text generation, and text to speech locally. |
| 3 | +Welcome to AMD Skills Dogfooding. |
4 | 4 |
|
| 5 | +## Requirements |
5 | 6 |
|
6 | | -## Step 1 - Understanding which skills are available |
| 7 | +This dogfooding program assumes you already have `claude code` setup on your machine. |
7 | 8 |
|
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. |
| 9 | +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. |
10 | 10 |
|
11 | | -## Step 2 - Enabling claude to see `local-ai-use` |
12 | 11 |
|
13 | | -In the future this will be enabled directly through claude's marketplace. For now, we have to manually add it. |
| 12 | +Please choose a skill to get started. |
14 | 13 |
|
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. |
| 14 | +* [local-ai-use](./local-ai-use.md): Teach your agent how to run image generation locally. |
0 commit comments