palskills 1.0.1 → 1.0.2
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/README.md +1 -23
- package/install.js +38 -0
- package/package.json +3 -3
- package/install.sh +0 -43
package/README.md
CHANGED
|
@@ -2,29 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**AI-powered development pipeline** — a suite of 5 Hermes Agent skills that orchestrate the full development lifecycle: context retrieval → planning → execution via Codex CLI → archival.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
User Prompt
|
|
7
|
-
│
|
|
8
|
-
▼
|
|
9
|
-
┌──────────────────────────────────────────────────────┐
|
|
10
|
-
│ │
|
|
11
|
-
│ 🔮 Astralym — State Machine Core │
|
|
12
|
-
│ Routes every prompt through the pipeline │
|
|
13
|
-
│ │
|
|
14
|
-
│ ├─► 📖 Lyleen — Palbox Reader & Bootstrapper │
|
|
15
|
-
│ │ Checks .palbox/ for context; creates if new │
|
|
16
|
-
│ │ │
|
|
17
|
-
│ ├─► 🐉 Jetdragon — Planner │
|
|
18
|
-
│ │ Asks clarifying questions → detailed plan │
|
|
19
|
-
│ │ │
|
|
20
|
-
│ ├─► ⚔️ Anubis — Codex Development Engine │
|
|
21
|
-
│ │ Builds Codex prompt → codex exec (SOLID+SRP) │
|
|
22
|
-
│ │ │
|
|
23
|
-
│ └─► 📝 Panthalus — Palbox Archivist │
|
|
24
|
-
│ Records plan + execution → .palbox/history/ │
|
|
25
|
-
│ │
|
|
26
|
-
└──────────────────────────────────────────────────────┘
|
|
27
|
-
```
|
|
5
|
+

|
|
28
6
|
|
|
29
7
|
## Skills
|
|
30
8
|
|
package/install.js
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
const fs = require('fs');
|
|
3
|
+
const path = require('path');
|
|
4
|
+
const os = require('os');
|
|
5
|
+
|
|
6
|
+
const GREEN = '\x1b[32m';
|
|
7
|
+
const YELLOW = '\x1b[33m';
|
|
8
|
+
const NC = '\x1b[0m';
|
|
9
|
+
|
|
10
|
+
const hermesHome = process.env.HERMES_HOME || path.join(os.homedir(), '.hermes');
|
|
11
|
+
const target = path.join(hermesHome, 'skills', 'palskills');
|
|
12
|
+
const src = path.join(__dirname, '..', 'skills');
|
|
13
|
+
|
|
14
|
+
console.log('╔══════════════════════════════════════╗');
|
|
15
|
+
console.log('║ Palskills Installer ║');
|
|
16
|
+
console.log('╚══════════════════════════════════════╝');
|
|
17
|
+
console.log('');
|
|
18
|
+
|
|
19
|
+
if (!fs.existsSync(src)) {
|
|
20
|
+
console.log(` ${YELLOW}⚠${NC} Skills source not found. Skipping.`);
|
|
21
|
+
process.exit(0);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
fs.mkdirSync(target, { recursive: true });
|
|
25
|
+
|
|
26
|
+
const skills = fs.readdirSync(src);
|
|
27
|
+
for (const skill of skills) {
|
|
28
|
+
const skillMd = path.join(src, skill, 'SKILL.md');
|
|
29
|
+
if (fs.existsSync(skillMd)) {
|
|
30
|
+
const dest = path.join(target, skill);
|
|
31
|
+
fs.mkdirSync(dest, { recursive: true });
|
|
32
|
+
fs.copyFileSync(skillMd, path.join(dest, 'SKILL.md'));
|
|
33
|
+
console.log(` ${GREEN}✓${NC} ${skill}`);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
console.log('');
|
|
38
|
+
console.log(` ${GREEN}✅ Done!${NC} Skills installed to ${target}`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "palskills",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "AI-powered development pipeline — 5 Hermes Agent skills orchestrated as a knowledge graph",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"hermes-agent",
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"files": [
|
|
31
31
|
"skills/",
|
|
32
32
|
"bin/",
|
|
33
|
-
"install.
|
|
33
|
+
"install.js"
|
|
34
34
|
],
|
|
35
35
|
"scripts": {
|
|
36
|
-
"postinstall": "
|
|
36
|
+
"postinstall": "node install.js"
|
|
37
37
|
}
|
|
38
38
|
}
|
package/install.sh
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env bash
|
|
2
|
-
set -euo pipefail
|
|
3
|
-
|
|
4
|
-
HERMES_SKILLS="${HERMES_HOME:-$HOME/.hermes}/skills"
|
|
5
|
-
TARGET="${HERMES_SKILLS}/palskills"
|
|
6
|
-
|
|
7
|
-
echo "╔══════════════════════════════════════╗"
|
|
8
|
-
echo "║ Palskills Installer ║"
|
|
9
|
-
echo "╚══════════════════════════════════════╝"
|
|
10
|
-
echo ""
|
|
11
|
-
|
|
12
|
-
# Check Hermes skills directory
|
|
13
|
-
if [ ! -d "$HERMES_SKILLS" ]; then
|
|
14
|
-
echo "📁 Creating Hermes skills directory: $HERMES_SKILLS"
|
|
15
|
-
mkdir -p "$HERMES_SKILLS"
|
|
16
|
-
fi
|
|
17
|
-
|
|
18
|
-
# Install each skill
|
|
19
|
-
SKILLS_DIR="$(cd "$(dirname "$0")" && pwd)/skills"
|
|
20
|
-
|
|
21
|
-
for skill in astralym lyleen jetdragon anubis panthalus; do
|
|
22
|
-
if [ -f "$SKILLS_DIR/$skill/SKILL.md" ]; then
|
|
23
|
-
echo "📦 Installing: $skill"
|
|
24
|
-
mkdir -p "$TARGET/$skill"
|
|
25
|
-
cp "$SKILLS_DIR/$skill/SKILL.md" "$TARGET/$skill/SKILL.md"
|
|
26
|
-
else
|
|
27
|
-
echo "⚠️ Warning: $skill/SKILL.md not found, skipping"
|
|
28
|
-
fi
|
|
29
|
-
done
|
|
30
|
-
|
|
31
|
-
echo ""
|
|
32
|
-
echo "✅ Palskills installed to: $TARGET"
|
|
33
|
-
echo ""
|
|
34
|
-
echo "Skills ready:"
|
|
35
|
-
ls -1 "$TARGET"/*/SKILL.md | while read f; do
|
|
36
|
-
dir=$(basename "$(dirname "$f")")
|
|
37
|
-
echo " • $dir"
|
|
38
|
-
done
|
|
39
|
-
echo ""
|
|
40
|
-
echo "Usage: In Hermes Agent, invoke any skill by name:"
|
|
41
|
-
echo " - 'Load the astralym skill'"
|
|
42
|
-
echo " - 'Use lyleen to check palbox'"
|
|
43
|
-
echo " - 'Run jetdragon for planning'"
|