blockedpath-skills 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +57 -0
- package/bin/install.js +51 -0
- package/package.json +24 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Blockedpath
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# blockedpath-skills
|
|
2
|
+
|
|
3
|
+
[](https://github.com/BlockedPath/Skills/actions/workflows/validate.yml)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
|
|
6
|
+
A plugin marketplace containing skills and plugins for [Claude Code](https://claude.com/claude-code) and [Codex](https://developers.openai.com/codex).
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
### Quick install (npx)
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
npx blockedpath-skills
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
Detects whichever of Claude Code / Codex you have installed, adds this marketplace, and installs the available plugins.
|
|
17
|
+
|
|
18
|
+
### Claude Code
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
/plugin marketplace add BlockedPath/Skills
|
|
22
|
+
/plugin install x-article-to-markdown@blockedpath-skills
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
See [Claude Code plugin marketplaces](https://code.claude.com/docs/en/plugin-marketplaces).
|
|
26
|
+
|
|
27
|
+
### Codex
|
|
28
|
+
|
|
29
|
+
```
|
|
30
|
+
codex plugin marketplace add BlockedPath/Skills
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Then open the plugins directory (`codex /plugins`), select `blockedpath-skills`, and install `x-article-to-markdown`. See [Codex plugins](https://developers.openai.com/codex/plugins).
|
|
34
|
+
|
|
35
|
+
## Plugins
|
|
36
|
+
|
|
37
|
+
### x-article-to-markdown
|
|
38
|
+
|
|
39
|
+
Scrapes an X (Twitter) long-form Article into a local Markdown file, faithfully preserving its structure (headings, formatting, lists, blockquotes, links) and downloading images for offline viewing. X Articles are login-gated and client-rendered, so this skill drives your already-logged-in Chrome via the DevTools protocol.
|
|
40
|
+
|
|
41
|
+
See [plugins/x-article-to-markdown/skills/x-article-to-markdown/SKILL.md](plugins/x-article-to-markdown/skills/x-article-to-markdown/SKILL.md) for details.
|
|
42
|
+
|
|
43
|
+
## Repository structure
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
package.json # npx installer (`npx blockedpath-skills`)
|
|
47
|
+
bin/install.js
|
|
48
|
+
.claude-plugin/marketplace.json # marketplace catalog (Claude Code; also read by Codex as a legacy path)
|
|
49
|
+
plugins/
|
|
50
|
+
<plugin-name>/
|
|
51
|
+
package.json # optional: publish plugin to npm as an alternate source
|
|
52
|
+
.claude-plugin/plugin.json # plugin manifest for Claude Code
|
|
53
|
+
.codex-plugin/plugin.json # plugin manifest for Codex
|
|
54
|
+
skills/<skill-name>/SKILL.md # skill definition, shared by both
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
To add a new plugin, create a directory under `plugins/` with its own `.claude-plugin/plugin.json` and `.codex-plugin/plugin.json`, then add an entry to `.claude-plugin/marketplace.json`.
|
package/bin/install.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
const { spawnSync } = require('child_process');
|
|
5
|
+
|
|
6
|
+
const MARKETPLACE_REPO = 'BlockedPath/Skills';
|
|
7
|
+
const MARKETPLACE_NAME = 'blockedpath-skills';
|
|
8
|
+
const PLUGINS = ['x-article-to-markdown'];
|
|
9
|
+
|
|
10
|
+
function commandExists(cmd) {
|
|
11
|
+
const result = spawnSync(cmd, ['--version'], { stdio: 'ignore' });
|
|
12
|
+
return !result.error;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
function run(cmd, args) {
|
|
16
|
+
console.log(`\n$ ${cmd} ${args.join(' ')}`);
|
|
17
|
+
const result = spawnSync(cmd, args, { stdio: 'inherit' });
|
|
18
|
+
return result.status === 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
let found = false;
|
|
22
|
+
|
|
23
|
+
if (commandExists('claude')) {
|
|
24
|
+
found = true;
|
|
25
|
+
console.log('== Claude Code ==');
|
|
26
|
+
run('claude', ['plugin', 'marketplace', 'add', MARKETPLACE_REPO]);
|
|
27
|
+
for (const plugin of PLUGINS) {
|
|
28
|
+
run('claude', ['plugin', 'install', `${plugin}@${MARKETPLACE_NAME}`]);
|
|
29
|
+
}
|
|
30
|
+
} else {
|
|
31
|
+
console.log('Claude Code CLI not found, skipping (https://claude.com/claude-code)');
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
if (commandExists('codex')) {
|
|
35
|
+
found = true;
|
|
36
|
+
console.log('\n== Codex ==');
|
|
37
|
+
run('codex', ['plugin', 'marketplace', 'add', MARKETPLACE_REPO]);
|
|
38
|
+
console.log(
|
|
39
|
+
`\nMarketplace added. Run "codex /plugins" to install: ${PLUGINS.join(', ')}`
|
|
40
|
+
);
|
|
41
|
+
} else {
|
|
42
|
+
console.log('Codex CLI not found, skipping (https://developers.openai.com/codex)');
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
if (!found) {
|
|
46
|
+
console.error(
|
|
47
|
+
'\nNeither the Claude Code nor Codex CLI was found on your PATH. ' +
|
|
48
|
+
'Install one of them first, then re-run this command.'
|
|
49
|
+
);
|
|
50
|
+
process.exit(1);
|
|
51
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "blockedpath-skills",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Installer for the blockedpath-skills plugin marketplace (Claude Code & Codex)",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"bin": {
|
|
7
|
+
"blockedpath-skills": "bin/install.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"bin"
|
|
11
|
+
],
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "git+https://github.com/BlockedPath/Skills.git"
|
|
15
|
+
},
|
|
16
|
+
"homepage": "https://github.com/BlockedPath/Skills",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"claude-code",
|
|
19
|
+
"codex",
|
|
20
|
+
"plugin-marketplace",
|
|
21
|
+
"claude",
|
|
22
|
+
"skills"
|
|
23
|
+
]
|
|
24
|
+
}
|