---
# System prepended metadata

title: Install Agent Skills Directly from HackMD Notes
tags: [tech, essay]

---

# Install Agent Skills Directly from HackMD Notes

[Agent skills](https://agentskills.io/) are pretty hot right now.

Here’s a simple idea: you can install an agent skill directly from a HackMD note, since skills are just Markdown.

HackMD has a trick where you can access the ==raw Markdown text== of any note by appending `.md` to the note URL.

For example, this note: <https://hackmd.io/@EastSun5566/hackmd-skill> is a HackMD Markdown skill that lets an agent write HackMD-flavored Markdown.

To get the raw content, simply use:

```
https://hackmd.io/@EastSun5566/hackmd-skill.md?no-meta
```

The `no-meta` query removes metadata like the title, making the Markdown cleaner.

Since you can access raw text, you can just use command line tools like `curl` or `wget` to write it directly to your filesystem. To install the skill in your current project:

```sh
curl -fsSL "https://hackmd.io/@EastSun5566/hackmd-skill.md?no-meta" \
  --create-dirs -o ".claude/skills/hackmd-skill/SKILL.md"
```

That's it. You're downloading the note's Markdown into the target folder and saving it as ⁠`SKILL.md`.

I’m using Claude Code here as an example above (`.claude/skills/`). You should switch this to your own agent case. Every agent nowadays seems to have its own skills path, which is kind of crazy.

Just create a skill note, collaborate with someone, make it publicly readable, and then install it with a ==one-line script==.

I know there are external tools that can install it for you, but a simple shell script is best, right? :smiley: 

### Links

- [skill note sync repo](https://github.com/EastSun5566/hackmd-skills)

{%hackmd @EastSun5566/license %}