You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
3. Click the extension icon or right-click → "Save page as Skill"
191
191
192
-
The extension extracts page content as markdown, generates SKILL.md with auto-detected tags, and downloads it. Then run `skillkit install ~/Downloads/skillkit-skills/my-skill` to deploy to all agents.
192
+
The extension sends the page URL to the SkillKit API for server-side extraction with Turndown, 5-source weighted tag detection, and GitHub URL support. The resulting SKILL.md downloads automatically. Then run `skillkit install ~/Downloads/skillkit-skills/my-skill` to deploy to all agents.
Copy file name to clipboardExpand all lines: apps/skillkit/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "skillkit",
3
-
"version": "1.18.0",
3
+
"version": "1.19.0",
4
4
"description": "Supercharge AI coding agents with portable skills. Install, translate, and share skills across Claude Code, Cursor, Codex, Copilot & 13 more",
Copy file name to clipboardExpand all lines: docs/fumadocs/content/docs/chrome-extension.mdx
+21-19Lines changed: 21 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Save any webpage as an AI agent skill from your browser
5
5
6
6
# Chrome Extension
7
7
8
-
Save any webpage as a SKILL.md directly from your browser. No server needed.
8
+
Save any webpage as a SKILL.md directly from your browser.
9
9
10
10
## Install
11
11
@@ -33,14 +33,14 @@ Then load `packages/extension/dist/` as an unpacked extension.
33
33
3. Optionally enter a custom skill name
34
34
4. Click **Save as Skill**
35
35
36
-
The extension extracts the page content as markdown, generates a SKILL.md with YAML frontmatter and auto-detected tags, and downloads it to your `Downloads/skillkit-skills/` folder.
36
+
The extension sends the page URL to the SkillKit API, which extracts the content as markdown, generates tags using weighted 5-source analysis, and returns a complete SKILL.md. The file downloads to your `Downloads/skillkit-skills/` folder.
37
37
38
38
### Context Menu
39
39
40
40
Right-click on any page:
41
41
42
-
-**Save page as Skill** — saves the entire page
43
-
-**Save selection as Skill** — saves only the selected text
42
+
-**Save page as Skill** — sends the URL to the API, downloads the result
43
+
-**Save selection as Skill** — builds the skill locally from selected text (no network request)
44
44
45
45
### Making Skills Available to Agents
46
46
@@ -59,28 +59,31 @@ skillkit sync
59
59
60
60
## How It Works
61
61
62
-
The extension runs entirely in the browser:
62
+
```
63
+
Extension → POST /api/save-skill { url } → Server pipeline → Download
64
+
```
65
+
66
+
1.**Popup** reads the current tab's URL and title via `activeTab` permission. No content script injection needed.
63
67
64
-
1.**Content script** extracts page content using [Turndown](https://github.com/mixmark-io/turndown) to convert HTML to clean markdown. It targets `<article>`, `<main>`, or `<body>` and strips scripts, nav, footer, and iframes.
68
+
2.**Background service worker** sends the URL to `agenstskills.com/api/save-skill`:
69
+
- Server fetches the page and converts HTML to markdown via Turndown
70
+
- GitHub URLs are auto-converted to raw content
71
+
- Tags are detected from 5 weighted sources (URL segments, headings, code blocks, keywords, language)
72
+
- Returns a complete SKILL.md with YAML frontmatter
65
73
66
-
2.**Background service worker** generates the SKILL.md:
3.**Download** — the service worker creates a blob and saves via `chrome.downloads` API.
71
75
72
-
3.**No server required**— the `POST /save` API endpoint exists for CLI users (`skillkit save`), but the extension works independently.
76
+
4.**Selection saves**work entirely offline — Chrome natively provides `selectionText` via the context menu API, so the skill is built locally with no server round-trip.
73
77
74
78
## Permissions
75
79
76
80
| Permission | Why |
77
81
|-----------|-----|
78
82
|`contextMenus`| Right-click "Save as Skill" menu items |
79
-
|`activeTab`| Access current page URL and title |
80
-
|`storage`| Persist extension preferences |
83
+
|`activeTab`| Access current page URL and title on click |
81
84
|`downloads`| Save SKILL.md files to disk |
82
85
83
-
No `host_permissions` needed. The extension never sends data to any server.
86
+
No `host_permissions`or `scripting` permissions needed. Only the page URL is sent to the server — no page content, browsing history, or personal data.
0 commit comments