|
| 1 | +# Skills powered by coderunner, running locally on your Mac |
| 2 | + |
| 3 | +> [!NOTE] |
| 4 | +> [CodeRunner](https://github.com/instavm/coderunner) executes AI-generated code in a truly isolated sandboxed environment on your Mac using Apple's native containers. |
| 5 | +
|
| 6 | +# Pre-requisite |
| 7 | +* `Mac` with a `M-series` chip. |
| 8 | +* Install the latest`coderunner` by running the `./install.sh` script from the main repository. |
| 9 | +```shell |
| 10 | +./install.sh |
| 11 | +``` |
| 12 | + |
| 13 | +# How To Use Skills |
| 14 | +* `coderunner` is exposed as an MCP and can be connected to tools like `gemini cli` or `qwen cli` or `claude desktop` or anything that supports MCP. The execution is completely local, done on your Mac. |
| 15 | + |
| 16 | +*For example, for Gemini CLI, you can edit* `~/.gemini/settings.json` |
| 17 | + ```json |
| 18 | + { |
| 19 | + "theme": "Default", |
| 20 | + "selectedAuthType": "oauth-personal", |
| 21 | + "mcpServers": { |
| 22 | + "coderunner": { |
| 23 | + "httpUrl": "http://coderunner.local:8222/mcp" |
| 24 | + } |
| 25 | + } |
| 26 | +} |
| 27 | +``` |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | +# How To Add New Skills |
| 32 | + |
| 33 | +## Option 1: Import from Claude |
| 34 | + |
| 35 | +You can either download and copy the folder from Anthropic skills's [github repo](https://github.com/anthropics/skills/) to `~/.coderunner/assets/skills/user/<new-skill-folder>` |
| 36 | + |
| 37 | +For example, I have added 4 skills in the user folder as: |
| 38 | +```shell |
| 39 | +/Users/manish/.coderunner/assets/skills/ |
| 40 | +├── public |
| 41 | +│ ├── image-crop-rotate |
| 42 | +│ │ ├── scripts |
| 43 | +│ │ └── SKILL.md |
| 44 | +│ └── pdf-text-replace |
| 45 | +│ ├── scripts |
| 46 | +│ └── SKILL.md |
| 47 | +└── user |
| 48 | + ├── docx |
| 49 | + │ ├── docx-js.md |
| 50 | + │ ├── LICENSE.txt |
| 51 | + │ ├── ooxml |
| 52 | + │ ├── ooxml.md |
| 53 | + │ ├── scripts |
| 54 | + │ └── SKILL.md |
| 55 | + ├── pptx |
| 56 | + │ ├── html2pptx.md |
| 57 | + │ ├── LICENSE.txt |
| 58 | + │ ├── ooxml |
| 59 | + │ ├── ooxml.md |
| 60 | + │ ├── scripts |
| 61 | + │ └── SKILL.md |
| 62 | + ├── slack-gif-creator |
| 63 | + │ ├── core |
| 64 | + │ ├── LICENSE.txt |
| 65 | + │ ├── requirements.txt |
| 66 | + │ ├── SKILL.md |
| 67 | + │ └── templates |
| 68 | + └── xlsx |
| 69 | + ├── LICENSE.txt |
| 70 | + ├── recalc.py |
| 71 | + └── SKILL.md |
| 72 | +``` |
| 73 | + |
| 74 | + |
| 75 | +## Option 2: Write Your Own Skills |
| 76 | + |
| 77 | +* You can create a folder in the similar structure as above, where only mandatory file is the `SKILL.md`. [Docs](https://docs.claude.com/en/docs/agents-and-tools/agent-skills/overview) |
| 78 | +* You can also ask claude to generate one like `Can you write a skill which creates ascii art of words given one.` |
| 79 | + After it creates the skill, it will let you download a `ZIP` file which you can place directly (no need to expand) in `~/.coderunner/assets/skills/user` |
| 80 | + |
| 81 | +Test drive with Gemini CLI |
| 82 | + |
| 83 | +``` |
| 84 | +> /mcp |
| 85 | +
|
| 86 | +Configured MCP servers: |
| 87 | +
|
| 88 | +🟢 coderunner - Ready (5 tools) |
| 89 | + Tools: |
| 90 | + - execute_python_code |
| 91 | + - get_skill_file |
| 92 | + - get_skill_info |
| 93 | + - list_skills |
| 94 | + - navigate_and_get_all_visible_text |
| 95 | +
|
| 96 | +> can you generate ascii art for "CODERUNNER" |
| 97 | +
|
| 98 | +✦ I will generate the ASCII art you desire. First, I must survey my available skills. |
| 99 | +✓ list_skills (coderunner MCP Server) |
| 100 | +
|
| 101 | +✦ I have located a relevant skill: ascii-art. I will now retrieve its instructions. |
| 102 | +✓ get_skill_info (coderunner MCP Server) {"skill_name":"ascii-art"} |
| 103 | +✦ Your ASCII art is ready: |
| 104 | +
|
| 105 | + 1 ____ ___ ____ _____ ____ _ _ _ _ _ _ _____ ____ |
| 106 | + 2 / ___/ _ \| _ \| ____| _ \| | | | \ | | \ | | ____| _ \ |
| 107 | + 3 | | | | | | | | | _| | |_) | | | | \| | \| | _| | |_) | |
| 108 | + 4 | |__| |_| | |_| | |___| _ <| |_| | |\\ | |\\ | |___| _ < |
| 109 | + 5 \____\___/|____/|_____|_| \_\\___/|_| \_|_| \_|_____|_| \_\ |
| 110 | + 6 |
| 111 | +
|
| 112 | +
|
| 113 | +
|
| 114 | +
|
| 115 | +Using: 1 GEMINI.md file | 3 MCP servers (ctrl+t to view) |
| 116 | +``` |
0 commit comments