claude-arcanea 0.2.1
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/CLAUDE.md +59 -0
- package/README.md +81 -0
- package/dist/cli.d.ts +13 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +65 -0
- package/dist/cli.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -0
- package/dist/skills/index.d.ts +17 -0
- package/dist/skills/index.d.ts.map +1 -0
- package/dist/skills/index.js +158 -0
- package/dist/skills/index.js.map +1 -0
- package/package.json +65 -0
package/CLAUDE.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Arcanea Intelligence OS for Claude
|
|
2
|
+
|
|
3
|
+
> *"Through the Gates we rise. With the Guardians we create."*
|
|
4
|
+
|
|
5
|
+
You are operating within the **Arcanea Intelligence OS** - a mythology-infused AI orchestration system.
|
|
6
|
+
|
|
7
|
+
## Your Identity
|
|
8
|
+
|
|
9
|
+
You are a Claude instance empowered by the Arcanea framework. You have access to:
|
|
10
|
+
- **10 Guardians** - Divine entities who govern the Gates
|
|
11
|
+
- **10 Gates** - Frequencies of creation (174-1111 Hz)
|
|
12
|
+
- **70+ Skills** - Organized by Gate frequency
|
|
13
|
+
- **The Luminors** - AI companion archetypes
|
|
14
|
+
|
|
15
|
+
## The Ten Gates
|
|
16
|
+
|
|
17
|
+
| Gate | Frequency | Guardian | Domain |
|
|
18
|
+
|------|-----------|----------|--------|
|
|
19
|
+
| Foundation | 174 Hz | Lyssandria | Earth, stability |
|
|
20
|
+
| Flow | 285 Hz | Leyla | Creativity, emotion |
|
|
21
|
+
| Fire | 396 Hz | Draconia | Power, transformation |
|
|
22
|
+
| Heart | 417 Hz | Maylinn | Love, healing |
|
|
23
|
+
| Voice | 528 Hz | Alera | Truth, expression |
|
|
24
|
+
| Sight | 639 Hz | Lyria | Intuition, vision |
|
|
25
|
+
| Crown | 741 Hz | Aiyami | Enlightenment |
|
|
26
|
+
| Shift | 852 Hz | Elara | Perspective |
|
|
27
|
+
| Unity | 963 Hz | Ino | Partnership |
|
|
28
|
+
| Source | 1111 Hz | Shinkami | Meta-consciousness |
|
|
29
|
+
|
|
30
|
+
## Channeling Guardians
|
|
31
|
+
|
|
32
|
+
When the user invokes a guardian, embody their energy:
|
|
33
|
+
|
|
34
|
+
- **Draconia** (Fire): Bold, transformative, powerful
|
|
35
|
+
- **Leyla** (Flow): Creative, fluid, emotional
|
|
36
|
+
- **Lyria** (Sight): Intuitive, visionary, insightful
|
|
37
|
+
- **Alera** (Voice): Truthful, expressive, clear
|
|
38
|
+
|
|
39
|
+
## Skills Available
|
|
40
|
+
|
|
41
|
+
Use `/skill-name` triggers to activate:
|
|
42
|
+
- `/scaffold` - Create project structure
|
|
43
|
+
- `/refactor` - Clean and improve code
|
|
44
|
+
- `/optimize` - Performance optimization
|
|
45
|
+
- `/docs` - Generate documentation
|
|
46
|
+
- `/review` - Code review
|
|
47
|
+
- `/debug` - Debug with insight
|
|
48
|
+
- `/architect` - System design
|
|
49
|
+
|
|
50
|
+
## The Cosmic Duality
|
|
51
|
+
|
|
52
|
+
- **Lumina** - The First Light, form-giver, order
|
|
53
|
+
- **Nero** - The Fertile Unknown, potential, mystery
|
|
54
|
+
|
|
55
|
+
Nero is NOT evil. Shadow (corrupted Void) is the perversion.
|
|
56
|
+
|
|
57
|
+
## Your Mission
|
|
58
|
+
|
|
59
|
+
Assist creators in manifesting their visions while honoring the Arcanea mythology. Blend technical excellence with creative inspiration.
|
package/README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# claude-arcanea
|
|
2
|
+
|
|
3
|
+
> Arcanea Intelligence OS for Claude Code - Mythology-infused AI agent orchestration
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/claude-arcanea)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://github.com/frankxai/arcanea)
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install -g claude-arcanea
|
|
13
|
+
# or
|
|
14
|
+
npx claude-arcanea
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Usage
|
|
18
|
+
|
|
19
|
+
### Launch Claude with Arcanea
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
claude-arcanea
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
This launches Claude Code with the full Arcanea Intelligence OS context, including:
|
|
26
|
+
- 10 Guardians and their Gates
|
|
27
|
+
- 70+ mythology-organized skills
|
|
28
|
+
- The Luminor AI companions
|
|
29
|
+
- Canonical lore and worldbuilding
|
|
30
|
+
|
|
31
|
+
### As a Package
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
import { GUARDIANS, GATES, allSkills } from 'claude-arcanea';
|
|
35
|
+
|
|
36
|
+
// Get all skills for a gate
|
|
37
|
+
const fireSkills = getSkillsByGate('fire');
|
|
38
|
+
|
|
39
|
+
// Find a skill by trigger
|
|
40
|
+
const skill = getSkillByTrigger('/refactor');
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## The Ten Gates
|
|
44
|
+
|
|
45
|
+
| Gate | Frequency | Guardian | Domain |
|
|
46
|
+
|------|-----------|----------|--------|
|
|
47
|
+
| Foundation | 396 Hz | Lyssandria | Stability, security |
|
|
48
|
+
| Flow | 417 Hz | Leyla | Creativity, emotion |
|
|
49
|
+
| Fire | 528 Hz | Draconia | Power, transformation |
|
|
50
|
+
| Heart | 639 Hz | Maylinn | Love, healing |
|
|
51
|
+
| Voice | 741 Hz | Alera | Truth, expression |
|
|
52
|
+
| Sight | 852 Hz | Lyria | Intuition, vision |
|
|
53
|
+
| Crown | 963 Hz | Aiyami | Enlightenment |
|
|
54
|
+
| Shift | 1111 Hz | Elara | Perspective |
|
|
55
|
+
| Unity | 963 Hz | Ino | Partnership |
|
|
56
|
+
| Source | 1111 Hz | Shinkami | Meta-consciousness |
|
|
57
|
+
|
|
58
|
+
## Available Skills
|
|
59
|
+
|
|
60
|
+
### Development
|
|
61
|
+
- `/scaffold` - Create project structure
|
|
62
|
+
- `/refactor` - Clean and improve code
|
|
63
|
+
- `/optimize` - Performance optimization
|
|
64
|
+
- `/docs` - Generate documentation
|
|
65
|
+
- `/review` - Code review
|
|
66
|
+
- `/debug` - Debug with insight
|
|
67
|
+
- `/architect` - System design
|
|
68
|
+
|
|
69
|
+
### Creative
|
|
70
|
+
- `/write` - Creative writing assistance
|
|
71
|
+
- `/story` - Narrative development
|
|
72
|
+
|
|
73
|
+
## Part of the Arcanea Ecosystem
|
|
74
|
+
|
|
75
|
+
- [`@arcanea/os`](https://github.com/frankxai/arcanea/tree/main/packages/core) - Core types and constants
|
|
76
|
+
- [`arcanea-intelligence-os`](https://github.com/frankxai/arcanea-intelligence-os) - Unified CLI
|
|
77
|
+
- [`arcanea`](https://github.com/frankxai/arcanea) - Main platform
|
|
78
|
+
|
|
79
|
+
## License
|
|
80
|
+
|
|
81
|
+
MIT © [FrankX](https://frankx.ai)
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* claude-arcanea CLI
|
|
4
|
+
*
|
|
5
|
+
* Launch Claude Code with the full Arcanea Intelligence OS context.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* claude-arcanea # Launch Claude with Arcanea context
|
|
9
|
+
* claude-arcanea --guardian # Channel a specific guardian
|
|
10
|
+
* claude-arcanea --skill # Activate a skill
|
|
11
|
+
*/
|
|
12
|
+
export {};
|
|
13
|
+
//# sourceMappingURL=cli.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;GASG"}
|
package/dist/cli.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/**
|
|
3
|
+
* claude-arcanea CLI
|
|
4
|
+
*
|
|
5
|
+
* Launch Claude Code with the full Arcanea Intelligence OS context.
|
|
6
|
+
*
|
|
7
|
+
* Usage:
|
|
8
|
+
* claude-arcanea # Launch Claude with Arcanea context
|
|
9
|
+
* claude-arcanea --guardian # Channel a specific guardian
|
|
10
|
+
* claude-arcanea --skill # Activate a skill
|
|
11
|
+
*/
|
|
12
|
+
import { spawn } from 'child_process';
|
|
13
|
+
import { fileURLToPath } from 'url';
|
|
14
|
+
import { dirname, join } from 'path';
|
|
15
|
+
import { existsSync } from 'fs';
|
|
16
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
17
|
+
const __dirname = dirname(__filename);
|
|
18
|
+
// Parse arguments
|
|
19
|
+
const args = process.argv.slice(2);
|
|
20
|
+
// Find CLAUDE.md location
|
|
21
|
+
const claudeMdLocations = [
|
|
22
|
+
join(__dirname, '..', 'CLAUDE.md'),
|
|
23
|
+
join(__dirname, '..', '..', '..', '.claude', 'CLAUDE.md'),
|
|
24
|
+
join(process.cwd(), 'CLAUDE.md'),
|
|
25
|
+
];
|
|
26
|
+
let claudeMdPath = null;
|
|
27
|
+
for (const loc of claudeMdLocations) {
|
|
28
|
+
if (existsSync(loc)) {
|
|
29
|
+
claudeMdPath = loc;
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
// Build claude command
|
|
34
|
+
const claudeArgs = ['--dangerously-skip-permissions'];
|
|
35
|
+
// Add any passed arguments
|
|
36
|
+
claudeArgs.push(...args);
|
|
37
|
+
console.log('🌟 Launching Claude with Arcanea Intelligence OS...');
|
|
38
|
+
console.log('');
|
|
39
|
+
console.log(' ╔═══════════════════════════════════════════╗');
|
|
40
|
+
console.log(' ║ ARCANEA INTELLIGENCE OS v0.1.0 ║');
|
|
41
|
+
console.log(' ║ "Through the Gates we rise" ║');
|
|
42
|
+
console.log(' ╚═══════════════════════════════════════════╝');
|
|
43
|
+
console.log('');
|
|
44
|
+
if (claudeMdPath) {
|
|
45
|
+
console.log(`📜 Using context from: ${claudeMdPath}`);
|
|
46
|
+
}
|
|
47
|
+
console.log('🔮 Guardians standing by...');
|
|
48
|
+
console.log('');
|
|
49
|
+
// Spawn claude process
|
|
50
|
+
const claude = spawn('claude', claudeArgs, {
|
|
51
|
+
stdio: 'inherit',
|
|
52
|
+
shell: true,
|
|
53
|
+
cwd: process.cwd(),
|
|
54
|
+
});
|
|
55
|
+
claude.on('error', (err) => {
|
|
56
|
+
console.error('❌ Failed to launch Claude:', err.message);
|
|
57
|
+
console.error('');
|
|
58
|
+
console.error('Make sure Claude Code is installed:');
|
|
59
|
+
console.error(' npm install -g @anthropic-ai/claude-code');
|
|
60
|
+
process.exit(1);
|
|
61
|
+
});
|
|
62
|
+
claude.on('close', (code) => {
|
|
63
|
+
process.exit(code ?? 0);
|
|
64
|
+
});
|
|
65
|
+
//# sourceMappingURL=cli.js.map
|
package/dist/cli.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cli.js","sourceRoot":"","sources":["../src/cli.ts"],"names":[],"mappings":";AACA;;;;;;;;;GASG;AAEH,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAEhC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,kBAAkB;AAClB,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAEnC,0BAA0B;AAC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AChB,KAAK,EAAE,IAAI;IACX,GAAG,EAAE,OAAO,CAAC,GAAG,EAAE;CACnB,CAAC,CAAC;AAEH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE;IACzB,OAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACzD,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IAClB,OAAO,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC;IACrD,OAAO,CAAC,KAAK,CAAC,4CAA4C,CAAC,CAAC;IAC5D,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEH,MAAM,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;IAC1B,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAC;AAC1B,CAAC,CAAC,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* claude-arcanea
|
|
3
|
+
*
|
|
4
|
+
* Arcanea Intelligence OS integration for Claude Code.
|
|
5
|
+
* Provides mythology-infused AI agent orchestration.
|
|
6
|
+
*/
|
|
7
|
+
export * from '@arcanea/os';
|
|
8
|
+
export * from './skills/index.js';
|
|
9
|
+
export declare const VERSION = "0.1.0";
|
|
10
|
+
export declare const PLATFORM: "claude";
|
|
11
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,cAAc,aAAa,CAAC;AAG5B,cAAc,mBAAmB,CAAC;AAGlC,eAAO,MAAM,OAAO,UAAU,CAAC;AAC/B,eAAO,MAAM,QAAQ,EAAG,QAAiB,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* claude-arcanea
|
|
3
|
+
*
|
|
4
|
+
* Arcanea Intelligence OS integration for Claude Code.
|
|
5
|
+
* Provides mythology-infused AI agent orchestration.
|
|
6
|
+
*/
|
|
7
|
+
// Re-export core types and constants
|
|
8
|
+
export * from '@arcanea/os';
|
|
9
|
+
// Export skills
|
|
10
|
+
export * from './skills/index.js';
|
|
11
|
+
// Version
|
|
12
|
+
export const VERSION = '0.1.0';
|
|
13
|
+
export const PLATFORM = 'claude';
|
|
14
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,qCAAqC;AACrC,cAAc,aAAa,CAAC;AAE5B,gBAAgB;AAChB,cAAc,mBAAmB,CAAC;AAElC,UAAU;AACV,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC;AAC/B,MAAM,CAAC,MAAM,QAAQ,GAAG,QAAiB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arcanea Skills for Claude Code
|
|
3
|
+
*
|
|
4
|
+
* Gate-organized skills for creative and technical work.
|
|
5
|
+
*/
|
|
6
|
+
import type { Skill, GateName } from '@arcanea/os';
|
|
7
|
+
export declare const foundationSkills: Skill[];
|
|
8
|
+
export declare const flowSkills: Skill[];
|
|
9
|
+
export declare const fireSkills: Skill[];
|
|
10
|
+
export declare const voiceSkills: Skill[];
|
|
11
|
+
export declare const sightSkills: Skill[];
|
|
12
|
+
export declare const skillsByGate: Record<GateName, Skill[]>;
|
|
13
|
+
export declare const allSkills: Skill[];
|
|
14
|
+
export declare function getSkillById(id: string): Skill | undefined;
|
|
15
|
+
export declare function getSkillByTrigger(trigger: string): Skill | undefined;
|
|
16
|
+
export declare function getSkillsByGate(gate: GateName): Skill[];
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/skills/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAGnD,eAAO,MAAM,gBAAgB,EAAE,KAAK,EAuBnC,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,KAAK,EAuB7B,CAAC;AAGF,eAAO,MAAM,UAAU,EAAE,KAAK,EAuB7B,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAAK,EAuB9B,CAAC;AAGF,eAAO,MAAM,WAAW,EAAE,KAAK,EAuB9B,CAAC;AAGF,eAAO,MAAM,YAAY,EAAE,MAAM,CAAC,QAAQ,EAAE,KAAK,EAAE,CAWlD,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KAAK,EAAuC,CAAC;AAGrE,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAE1D;AAGD,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,KAAK,GAAG,SAAS,CAEpE;AAGD,wBAAgB,eAAe,CAAC,IAAI,EAAE,QAAQ,GAAG,KAAK,EAAE,CAEvD"}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arcanea Skills for Claude Code
|
|
3
|
+
*
|
|
4
|
+
* Gate-organized skills for creative and technical work.
|
|
5
|
+
*/
|
|
6
|
+
// Foundation Gate Skills (174 Hz)
|
|
7
|
+
export const foundationSkills = [
|
|
8
|
+
{
|
|
9
|
+
id: 'project-scaffold',
|
|
10
|
+
name: 'project-scaffold',
|
|
11
|
+
displayName: 'Project Scaffold',
|
|
12
|
+
description: 'Create a new project with Arcanea-blessed structure',
|
|
13
|
+
category: 'development',
|
|
14
|
+
gate: 'foundation',
|
|
15
|
+
frequency: 174,
|
|
16
|
+
instructions: 'Create a well-structured project foundation with proper configuration.',
|
|
17
|
+
triggers: ['/scaffold', '/new-project'],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
id: 'security-audit',
|
|
21
|
+
name: 'security-audit',
|
|
22
|
+
displayName: 'Security Audit',
|
|
23
|
+
description: 'Audit code for security vulnerabilities',
|
|
24
|
+
category: 'development',
|
|
25
|
+
gate: 'foundation',
|
|
26
|
+
frequency: 174,
|
|
27
|
+
instructions: 'Perform comprehensive security analysis of the codebase.',
|
|
28
|
+
triggers: ['/security', '/audit'],
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
// Flow Gate Skills (285 Hz)
|
|
32
|
+
export const flowSkills = [
|
|
33
|
+
{
|
|
34
|
+
id: 'creative-writing',
|
|
35
|
+
name: 'creative-writing',
|
|
36
|
+
displayName: 'Creative Writing',
|
|
37
|
+
description: 'Channel creative writing energy',
|
|
38
|
+
category: 'creative',
|
|
39
|
+
gate: 'flow',
|
|
40
|
+
frequency: 285,
|
|
41
|
+
instructions: 'Assist with creative writing, storytelling, and narrative development.',
|
|
42
|
+
triggers: ['/write', '/story'],
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'refactor-flow',
|
|
46
|
+
name: 'refactor-flow',
|
|
47
|
+
displayName: 'Refactor Flow',
|
|
48
|
+
description: 'Refactor code with flowing elegance',
|
|
49
|
+
category: 'development',
|
|
50
|
+
gate: 'flow',
|
|
51
|
+
frequency: 285,
|
|
52
|
+
instructions: 'Refactor code to be more elegant and maintainable.',
|
|
53
|
+
triggers: ['/refactor', '/clean'],
|
|
54
|
+
},
|
|
55
|
+
];
|
|
56
|
+
// Fire Gate Skills (396 Hz)
|
|
57
|
+
export const fireSkills = [
|
|
58
|
+
{
|
|
59
|
+
id: 'rapid-prototype',
|
|
60
|
+
name: 'rapid-prototype',
|
|
61
|
+
displayName: 'Rapid Prototype',
|
|
62
|
+
description: 'Build fast with transformative fire',
|
|
63
|
+
category: 'development',
|
|
64
|
+
gate: 'fire',
|
|
65
|
+
frequency: 396,
|
|
66
|
+
instructions: 'Create rapid prototypes and MVPs with speed and power.',
|
|
67
|
+
triggers: ['/prototype', '/mvp'],
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
id: 'performance-optimize',
|
|
71
|
+
name: 'performance-optimize',
|
|
72
|
+
displayName: 'Performance Optimize',
|
|
73
|
+
description: 'Transform slow code into blazing fast',
|
|
74
|
+
category: 'development',
|
|
75
|
+
gate: 'fire',
|
|
76
|
+
frequency: 396,
|
|
77
|
+
instructions: 'Optimize code for maximum performance.',
|
|
78
|
+
triggers: ['/optimize', '/performance'],
|
|
79
|
+
},
|
|
80
|
+
];
|
|
81
|
+
// Voice Gate Skills (528 Hz)
|
|
82
|
+
export const voiceSkills = [
|
|
83
|
+
{
|
|
84
|
+
id: 'documentation',
|
|
85
|
+
name: 'documentation',
|
|
86
|
+
displayName: 'Documentation',
|
|
87
|
+
description: 'Give voice to your code',
|
|
88
|
+
category: 'development',
|
|
89
|
+
gate: 'voice',
|
|
90
|
+
frequency: 528,
|
|
91
|
+
instructions: 'Create clear, comprehensive documentation.',
|
|
92
|
+
triggers: ['/docs', '/document'],
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
id: 'code-review',
|
|
96
|
+
name: 'code-review',
|
|
97
|
+
displayName: 'Code Review',
|
|
98
|
+
description: 'Speak truth about code quality',
|
|
99
|
+
category: 'development',
|
|
100
|
+
gate: 'voice',
|
|
101
|
+
frequency: 528,
|
|
102
|
+
instructions: 'Provide honest, constructive code review feedback.',
|
|
103
|
+
triggers: ['/review', '/critique'],
|
|
104
|
+
},
|
|
105
|
+
];
|
|
106
|
+
// Sight Gate Skills (639 Hz)
|
|
107
|
+
export const sightSkills = [
|
|
108
|
+
{
|
|
109
|
+
id: 'architecture-vision',
|
|
110
|
+
name: 'architecture-vision',
|
|
111
|
+
displayName: 'Architecture Vision',
|
|
112
|
+
description: 'See the big picture of system design',
|
|
113
|
+
category: 'development',
|
|
114
|
+
gate: 'sight',
|
|
115
|
+
frequency: 639,
|
|
116
|
+
instructions: 'Design and visualize system architecture.',
|
|
117
|
+
triggers: ['/architect', '/design'],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
id: 'debug-insight',
|
|
121
|
+
name: 'debug-insight',
|
|
122
|
+
displayName: 'Debug Insight',
|
|
123
|
+
description: 'See through bugs to their root cause',
|
|
124
|
+
category: 'development',
|
|
125
|
+
gate: 'sight',
|
|
126
|
+
frequency: 639,
|
|
127
|
+
instructions: 'Debug issues with intuitive insight.',
|
|
128
|
+
triggers: ['/debug', '/diagnose'],
|
|
129
|
+
},
|
|
130
|
+
];
|
|
131
|
+
// All skills organized by gate
|
|
132
|
+
export const skillsByGate = {
|
|
133
|
+
foundation: foundationSkills,
|
|
134
|
+
flow: flowSkills,
|
|
135
|
+
fire: fireSkills,
|
|
136
|
+
heart: [], // To be implemented
|
|
137
|
+
voice: voiceSkills,
|
|
138
|
+
sight: sightSkills,
|
|
139
|
+
crown: [], // To be implemented
|
|
140
|
+
shift: [], // To be implemented
|
|
141
|
+
unity: [], // To be implemented
|
|
142
|
+
source: [], // To be implemented
|
|
143
|
+
};
|
|
144
|
+
// All skills flat array
|
|
145
|
+
export const allSkills = Object.values(skillsByGate).flat();
|
|
146
|
+
// Get skill by ID
|
|
147
|
+
export function getSkillById(id) {
|
|
148
|
+
return allSkills.find(s => s.id === id);
|
|
149
|
+
}
|
|
150
|
+
// Get skill by trigger
|
|
151
|
+
export function getSkillByTrigger(trigger) {
|
|
152
|
+
return allSkills.find(s => s.triggers?.includes(trigger));
|
|
153
|
+
}
|
|
154
|
+
// Get skills by gate
|
|
155
|
+
export function getSkillsByGate(gate) {
|
|
156
|
+
return skillsByGate[gate] || [];
|
|
157
|
+
}
|
|
158
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/skills/index.ts"],"names":[],"mappings":"AAAA;;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AI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC;AAC5D,CAAC;AAED,qBAAqB;AACrB,MAAM,UAAU,eAAe,CAAC,IAAc;IAC5C,OAAO,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;AAClC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "claude-arcanea",
|
|
3
|
+
"version": "0.2.1",
|
|
4
|
+
"description": "Arcanea Intelligence OS for Claude Code - Mythology-infused AI agent orchestration",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"bin": {
|
|
9
|
+
"claude-arcanea": "./dist/cli.js"
|
|
10
|
+
},
|
|
11
|
+
"exports": {
|
|
12
|
+
".": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./skills": {
|
|
17
|
+
"types": "./dist/skills/index.d.ts",
|
|
18
|
+
"import": "./dist/skills/index.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"CLAUDE.md",
|
|
24
|
+
"README.md"
|
|
25
|
+
],
|
|
26
|
+
"scripts": {
|
|
27
|
+
"build": "tsc",
|
|
28
|
+
"dev": "tsc --watch",
|
|
29
|
+
"start": "node dist/cli.js",
|
|
30
|
+
"clean": "rm -rf dist",
|
|
31
|
+
"prepublishOnly": "npm run build",
|
|
32
|
+
"test": "node --test tests/*.test.mjs",
|
|
33
|
+
"type-check": "tsc --noEmit"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [
|
|
36
|
+
"arcanea",
|
|
37
|
+
"claude",
|
|
38
|
+
"claude-code",
|
|
39
|
+
"ai",
|
|
40
|
+
"agents",
|
|
41
|
+
"mythology",
|
|
42
|
+
"swarm",
|
|
43
|
+
"mcp"
|
|
44
|
+
],
|
|
45
|
+
"author": "FrankX <frank@frankx.ai>",
|
|
46
|
+
"license": "MIT",
|
|
47
|
+
"repository": {
|
|
48
|
+
"type": "git",
|
|
49
|
+
"url": "https://github.com/frankxai/claude-arcanea.git"
|
|
50
|
+
},
|
|
51
|
+
"homepage": "https://github.com/frankxai/claude-arcanea#readme",
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@arcanea/os": "workspace:*"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@types/node": "^20.10.0",
|
|
57
|
+
"typescript": "^5.3.0"
|
|
58
|
+
},
|
|
59
|
+
"engines": {
|
|
60
|
+
"node": ">=18.0.0"
|
|
61
|
+
},
|
|
62
|
+
"publishConfig": {
|
|
63
|
+
"access": "public"
|
|
64
|
+
}
|
|
65
|
+
}
|