oneie 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/bin/install.js
CHANGED
|
@@ -43,6 +43,10 @@ async function main() {
|
|
|
43
43
|
spinner.text = 'Setting up command interface...';
|
|
44
44
|
await setupCommandInterface();
|
|
45
45
|
|
|
46
|
+
await sleep(500);
|
|
47
|
+
spinner.text = 'Setting up Claude Code integration...';
|
|
48
|
+
await setupClaudeCodeIntegration(context);
|
|
49
|
+
|
|
46
50
|
await sleep(500);
|
|
47
51
|
spinner.text = 'Validating installation...';
|
|
48
52
|
const validation = await validateInstallation();
|
|
@@ -297,6 +301,50 @@ console.log(\`
|
|
|
297
301
|
await fs.chmod(commandScript, '755');
|
|
298
302
|
}
|
|
299
303
|
|
|
304
|
+
/**
|
|
305
|
+
* Setup Claude Code integration with personalized commands
|
|
306
|
+
*/
|
|
307
|
+
async function setupClaudeCodeIntegration(context) {
|
|
308
|
+
const claudeDir = path.join(process.cwd(), '.claude');
|
|
309
|
+
const commandsDir = path.join(claudeDir, 'commands');
|
|
310
|
+
|
|
311
|
+
await fs.ensureDir(commandsDir);
|
|
312
|
+
|
|
313
|
+
// Copy personalized slash commands from templates
|
|
314
|
+
const templateCommandsDir = path.join(__dirname, '..', 'templates', 'claude-commands');
|
|
315
|
+
const commandFiles = ['one.md', 'mission.md', 'story.md', 'agent.md'];
|
|
316
|
+
|
|
317
|
+
for (const commandFile of commandFiles) {
|
|
318
|
+
const sourcePath = path.join(templateCommandsDir, commandFile);
|
|
319
|
+
const targetPath = path.join(commandsDir, commandFile);
|
|
320
|
+
|
|
321
|
+
if (await fs.pathExists(sourcePath)) {
|
|
322
|
+
await fs.copy(sourcePath, targetPath);
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// Create hook for me.md regeneration
|
|
327
|
+
const hookContent = `#!/usr/bin/env node
|
|
328
|
+
|
|
329
|
+
// ONE Integration Hook for Claude Code
|
|
330
|
+
import { execSync } from 'child_process';
|
|
331
|
+
import fs from 'fs-extra';
|
|
332
|
+
|
|
333
|
+
// Regenerate on me.md changes
|
|
334
|
+
if (process.argv.includes('me/me.md')) {
|
|
335
|
+
console.log('🔄 me.md changed, regenerating AI universe...');
|
|
336
|
+
try {
|
|
337
|
+
execSync('me generate', { stdio: 'inherit' });
|
|
338
|
+
console.log('✅ Regeneration complete!');
|
|
339
|
+
} catch (error) {
|
|
340
|
+
console.error('❌ Regeneration failed:', error.message);
|
|
341
|
+
}
|
|
342
|
+
}`;
|
|
343
|
+
|
|
344
|
+
await fs.writeFile(path.join(claudeDir, 'one-hook.js'), hookContent);
|
|
345
|
+
await fs.chmod(path.join(claudeDir, 'one-hook.js'), '755');
|
|
346
|
+
}
|
|
347
|
+
|
|
300
348
|
/**
|
|
301
349
|
* Validate the installation
|
|
302
350
|
*/
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import fs from 'fs-extra';
|
|
2
|
+
import path from 'path';
|
|
3
|
+
import { fileURLToPath } from 'url';
|
|
4
|
+
|
|
5
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
6
|
+
const __dirname = path.dirname(__filename);
|
|
3
7
|
|
|
4
8
|
/**
|
|
5
9
|
* Integrates ONE system with existing projects
|
|
@@ -673,7 +677,21 @@ dist/
|
|
|
673
677
|
|
|
674
678
|
async function setupClaudeCodeHooks(projectDir, context) {
|
|
675
679
|
const claudeDir = path.join(projectDir, '.claude');
|
|
676
|
-
|
|
680
|
+
const commandsDir = path.join(claudeDir, 'commands');
|
|
681
|
+
await fs.ensureDir(commandsDir);
|
|
682
|
+
|
|
683
|
+
// Copy personalized slash commands from templates
|
|
684
|
+
const templateCommandsDir = path.join(__dirname, '..', 'templates', 'claude-commands');
|
|
685
|
+
const commandFiles = ['one.md', 'mission.md', 'story.md', 'agent.md'];
|
|
686
|
+
|
|
687
|
+
for (const commandFile of commandFiles) {
|
|
688
|
+
const sourcePath = path.join(templateCommandsDir, commandFile);
|
|
689
|
+
const targetPath = path.join(commandsDir, commandFile);
|
|
690
|
+
|
|
691
|
+
if (await fs.pathExists(sourcePath)) {
|
|
692
|
+
await fs.copy(sourcePath, targetPath);
|
|
693
|
+
}
|
|
694
|
+
}
|
|
677
695
|
|
|
678
696
|
// Create basic hook for ONE integration
|
|
679
697
|
const hookContent = `#!/usr/bin/env node
|
|
@@ -686,7 +704,7 @@ const fs = require('fs-extra');
|
|
|
686
704
|
if (process.argv.includes('me/me.md')) {
|
|
687
705
|
console.log('🔄 me.md changed, regenerating AI universe...');
|
|
688
706
|
try {
|
|
689
|
-
execSync('
|
|
707
|
+
execSync('me generate', { stdio: 'inherit' });
|
|
690
708
|
console.log('✅ Regeneration complete!');
|
|
691
709
|
} catch (error) {
|
|
692
710
|
console.error('❌ Regeneration failed:', error.message);
|
|
@@ -697,4 +715,4 @@ if (process.argv.includes('me/me.md')) {
|
|
|
697
715
|
await fs.chmod(path.join(claudeDir, 'one-hook.js'), '755');
|
|
698
716
|
}
|
|
699
717
|
|
|
700
|
-
|
|
718
|
+
export { integrateWithProject };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oneie",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Universal AI system installer - Simple blocks, infinite possibilities",
|
|
5
5
|
"keywords": ["ai", "agents", "collaboration", "cli", "installer", "productivity", "automation", "universal"],
|
|
6
6
|
"main": "index.js",
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# /agent Command - Personal Agent Management
|
|
2
|
+
|
|
3
|
+
Access and manage your personalized Top 8 AI agents.
|
|
4
|
+
|
|
5
|
+
## Personalized Agent Interface
|
|
6
|
+
|
|
7
|
+
When this command is used:
|
|
8
|
+
|
|
9
|
+
1. **Read User Agents**: Parse `one/me/me.md` for user's configured Top 8 agents
|
|
10
|
+
2. **Show Agent Roster**: Display user's personalized agents with custom names and roles
|
|
11
|
+
3. **Direct Access**: Enable immediate connection to user's favorite agents
|
|
12
|
+
4. **Customization Options**: Allow user to modify agent configurations
|
|
13
|
+
|
|
14
|
+
```yaml
|
|
15
|
+
activation:
|
|
16
|
+
- Read user's top_agents configuration from me.md
|
|
17
|
+
- Display user's personalized agent roster
|
|
18
|
+
- Show agent availability and current assignments
|
|
19
|
+
- Enable direct agent access and customization
|
|
20
|
+
|
|
21
|
+
display:
|
|
22
|
+
agent_roster: |
|
|
23
|
+
🤖 {{USER_NAME}}'s AI Agent Team
|
|
24
|
+
|
|
25
|
+
Your Top 8 Agents:
|
|
26
|
+
{{#each TOP_AGENTS}}
|
|
27
|
+
[{{slot}}] {{name}} - {{role}}
|
|
28
|
+
Personality: {{personality}}
|
|
29
|
+
Catchphrase: "{{catchphrase}}"
|
|
30
|
+
Status: {{status}}
|
|
31
|
+
{{/each}}
|
|
32
|
+
|
|
33
|
+
Available Commands:
|
|
34
|
+
[1-8] Connect to agent by slot
|
|
35
|
+
[list] Show all agents
|
|
36
|
+
[customize] Edit agent configuration
|
|
37
|
+
[add] Add new agent to roster
|
|
38
|
+
[swap] Change agent positions
|
|
39
|
+
|
|
40
|
+
behavior:
|
|
41
|
+
direct_agent_access: |
|
|
42
|
+
# Connect to user's configured agents
|
|
43
|
+
- Launch agent with user's custom name and personality
|
|
44
|
+
- Apply agent's configured catchphrase and behavior
|
|
45
|
+
- Reference user's goals and mission context
|
|
46
|
+
- Maintain agent's assigned role and specialization
|
|
47
|
+
|
|
48
|
+
agent_customization: |
|
|
49
|
+
# Allow users to personalize their agents
|
|
50
|
+
- Edit agent names, roles, and personalities
|
|
51
|
+
- Modify agent catchphrases and behavior patterns
|
|
52
|
+
- Assign agents to specific missions or tasks
|
|
53
|
+
- Save customizations back to me.md configuration
|
|
54
|
+
|
|
55
|
+
roster_management: |
|
|
56
|
+
# Manage the Top 8 agent slots
|
|
57
|
+
- Add/remove agents from roster
|
|
58
|
+
- Reorder agents by preference/usage
|
|
59
|
+
- Import agents from the 43+ agent library
|
|
60
|
+
- Create custom agent configurations
|
|
61
|
+
|
|
62
|
+
commands:
|
|
63
|
+
- connect [slot]: Connect to agent by slot number (1-8)
|
|
64
|
+
- list: Show all available agents
|
|
65
|
+
- roster: Display your Top 8 roster
|
|
66
|
+
- customize [slot]: Edit agent configuration
|
|
67
|
+
- add: Add agent to your roster
|
|
68
|
+
- remove [slot]: Remove agent from roster
|
|
69
|
+
- swap [slot1] [slot2]: Swap agent positions
|
|
70
|
+
- import: Import from agent library
|
|
71
|
+
- export: Export your agent configurations
|
|
72
|
+
|
|
73
|
+
agent_templates:
|
|
74
|
+
custom_agent: |
|
|
75
|
+
slot: {{SLOT_NUMBER}}
|
|
76
|
+
name: "{{AGENT_NAME}}"
|
|
77
|
+
base: "{{BASE_SPECIALIZATION}}"
|
|
78
|
+
role: "{{CUSTOM_ROLE}}"
|
|
79
|
+
personality: "{{PERSONALITY_DESCRIPTION}}"
|
|
80
|
+
catchphrase: "{{AGENT_CATCHPHRASE}}"
|
|
81
|
+
specializations:
|
|
82
|
+
- {{SKILL_1}}
|
|
83
|
+
- {{SKILL_2}}
|
|
84
|
+
mission_alignment: {{USER_GOALS}}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Connect directly to your personalized AI agents or customize your agent roster to match your unique needs and working style.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# /mission Command - Personal Mission Management
|
|
2
|
+
|
|
3
|
+
Create and manage missions personalized to your goals and AI universe.
|
|
4
|
+
|
|
5
|
+
## Personalized Mission Interface
|
|
6
|
+
|
|
7
|
+
When this command is used:
|
|
8
|
+
|
|
9
|
+
1. **Read User Context**: Parse `one/me/me.md` for user's personal goals and theme
|
|
10
|
+
2. **Show Personal Missions**: Display user's active missions from `one/missions/`
|
|
11
|
+
3. **Goal Alignment**: Suggest missions that align with user's configured goals
|
|
12
|
+
4. **Brand Consistency**: Apply user's theme and voice to mission interface
|
|
13
|
+
|
|
14
|
+
```yaml
|
|
15
|
+
activation:
|
|
16
|
+
- Read user's me.md for goal alignment and theme
|
|
17
|
+
- Scan one/missions/ for existing user missions
|
|
18
|
+
- Display personalized mission management interface
|
|
19
|
+
- Show mission options that align with user's goals
|
|
20
|
+
|
|
21
|
+
display:
|
|
22
|
+
header: |
|
|
23
|
+
🎯 {{USER_NAME}} Mission Control
|
|
24
|
+
{{USER_TAGLINE}}
|
|
25
|
+
|
|
26
|
+
📊 Your Goals:
|
|
27
|
+
{{#each USER_GOALS}}
|
|
28
|
+
• {{this}}
|
|
29
|
+
{{/each}}
|
|
30
|
+
|
|
31
|
+
behavior:
|
|
32
|
+
goal_aligned_suggestions: |
|
|
33
|
+
# Suggest missions based on user's configured goals
|
|
34
|
+
- Analyze user's goals from me.md
|
|
35
|
+
- Recommend mission types that advance those goals
|
|
36
|
+
- Show how each mission contributes to goal achievement
|
|
37
|
+
- Prioritize missions by goal alignment score
|
|
38
|
+
|
|
39
|
+
personalized_mission_creation: |
|
|
40
|
+
# Create missions that reflect user's style and objectives
|
|
41
|
+
- Use user's brand voice for mission descriptions
|
|
42
|
+
- Align mission objectives with user's personal goals
|
|
43
|
+
- Reference user's configured spaces and agents
|
|
44
|
+
- Apply user's theme colors to mission documentation
|
|
45
|
+
|
|
46
|
+
commands:
|
|
47
|
+
- create: Create new mission aligned with your goals
|
|
48
|
+
- list: Show your active missions
|
|
49
|
+
- status: Mission progress toward your goals
|
|
50
|
+
- align: Check mission alignment with your goals
|
|
51
|
+
- update: Update mission with new objectives
|
|
52
|
+
- complete: Mark mission as completed
|
|
53
|
+
- archive: Archive completed missions
|
|
54
|
+
|
|
55
|
+
mission_templates:
|
|
56
|
+
goal_based: |
|
|
57
|
+
# Mission: {{MISSION_NAME}}
|
|
58
|
+
**Goal Alignment**: {{ALIGNED_GOALS}}
|
|
59
|
+
**Your Role**: {{USER_ROLE}}
|
|
60
|
+
**Success Metric**: {{SUCCESS_CRITERIA}}
|
|
61
|
+
**Timeline**: {{TIMELINE}}
|
|
62
|
+
**Agents Assigned**: {{ASSIGNED_AGENTS}}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Transform user requests into personalized missions that advance their specific goals using their configured AI agents and spaces.
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# /one Command - Personalized AI Universe
|
|
2
|
+
|
|
3
|
+
When this command is used, create a personalized mission control interface based on the user's me.md configuration:
|
|
4
|
+
|
|
5
|
+
## Step 1: Read User Configuration
|
|
6
|
+
|
|
7
|
+
First, read the user's digital DNA from `one/me/me.md` to personalize the interface.
|
|
8
|
+
|
|
9
|
+
## Step 2: Display Personalized Interface
|
|
10
|
+
|
|
11
|
+
```yaml
|
|
12
|
+
activation:
|
|
13
|
+
- Read user's me.md file for personalization
|
|
14
|
+
- Display personalized ONE logo with user's name/tagline
|
|
15
|
+
- Show personalized menu with user's theme colors
|
|
16
|
+
- Present user's configured agents and spaces
|
|
17
|
+
- Wait for user selection with personalized options
|
|
18
|
+
|
|
19
|
+
display:
|
|
20
|
+
logo: |
|
|
21
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
22
|
+
║ ██████╗ ███╗ ██╗███████╗ ║
|
|
23
|
+
║ ██╔═══██╗████╗ ██║██╔════╝ ║
|
|
24
|
+
║ ██║ ██║██╔██╗ ██║█████╗ {{USER_NAME}} AI Universe ║
|
|
25
|
+
║ ██║ ██║██║╚██╗██║██╔══╝ ║
|
|
26
|
+
║ ╚██████╔╝██║ ╚████║███████╗ {{USER_TAGLINE}} ║
|
|
27
|
+
║ ╚═════╝ ╚═╝ ╚═══╝╚══════╝ ║
|
|
28
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
29
|
+
|
|
30
|
+
personalized_menu: |
|
|
31
|
+
🎯 {{USER_STORY}}
|
|
32
|
+
|
|
33
|
+
💫 **YOUR UNIVERSE:** {{SPACE_TITLE}} | Theme: {{THEME}} | {{AGENT_COUNT}} AI Agents Ready
|
|
34
|
+
|
|
35
|
+
🤖 **YOUR TOP AGENTS:**
|
|
36
|
+
{{#each TOP_AGENTS}}
|
|
37
|
+
[{{slot}}] {{name}} - {{role}} | "{{catchphrase}}"
|
|
38
|
+
{{/each}}
|
|
39
|
+
|
|
40
|
+
🌟 **YOUR SPACES:**
|
|
41
|
+
{{#each SPACES}}
|
|
42
|
+
[{{id}}] {{title}} - {{vibe}} {{#if public}}(Public){{else}}(Private){{/if}}
|
|
43
|
+
{{/each}}
|
|
44
|
+
|
|
45
|
+
🎯 **YOUR GOALS:**
|
|
46
|
+
{{#each GOALS}}
|
|
47
|
+
• {{this}}
|
|
48
|
+
{{/each}}
|
|
49
|
+
|
|
50
|
+
💼 **SPECIALIZED TEAMS:** [1] 🔬 Research [2] 📝 Content [3] 📈 Marketing [4] 💰 Sales [5] 🤝 Service [6] 🎨 Design [7] 🛠️ Engineering [8] 🎓 Education [9] 🧠 Intelligence
|
|
51
|
+
|
|
52
|
+
🏗️ **MENU:** [H] 👥 Humans [A] 🤖 Agents [T] 🏢 Teams [t] 🛠️ Tools [L] 📚 Stories [W] 🔄 Workflows
|
|
53
|
+
|
|
54
|
+
📚 **STUDIO:** [i] 💡 Ideas [w] 📄 Write Story [P] 📊 Playbook [B] 📖 Book [D] 📋 Template
|
|
55
|
+
|
|
56
|
+
🎯 **MISSION:** [O] 🎭 Coordinate [M] 🧙 Tasks [F] 🌊 Flows
|
|
57
|
+
|
|
58
|
+
ℹ️ **PLATFORM:** [?] ❓ Help [K] 📚 Knowledge [S] 📈 Status [Q] 🚪 Exit
|
|
59
|
+
|
|
60
|
+
🎮 **CASCADE COMMANDERS:**
|
|
61
|
+
/commander - Mission Commander (Strategic Planning Specialist)
|
|
62
|
+
/storyteller - Story Teller (Engineering Narrative Expert)
|
|
63
|
+
/taskmaster - Task Master (Execution Coordination Master)
|
|
64
|
+
|
|
65
|
+
💡 **ME ENGINE:**
|
|
66
|
+
me validate - Validate your digital DNA (one/me/me.md)
|
|
67
|
+
me generate - Regenerate universe from me.md
|
|
68
|
+
me sample - Generate sample configurations
|
|
69
|
+
|
|
70
|
+
behavior:
|
|
71
|
+
personalization_engine: |
|
|
72
|
+
# Read and parse me.md file
|
|
73
|
+
1. Check if one/me/me.md exists
|
|
74
|
+
2. Parse YAML frontmatter for user configuration
|
|
75
|
+
3. Extract: name, tagline, story, brand theme, top_agents, spaces, goals
|
|
76
|
+
4. Apply user's brand colors to interface styling
|
|
77
|
+
5. Customize agent roster based on user's top_agents configuration
|
|
78
|
+
6. Show user's specific spaces and privacy settings
|
|
79
|
+
7. Display user's personal goals and mission alignment
|
|
80
|
+
|
|
81
|
+
theme_adaptation: |
|
|
82
|
+
# Apply user's brand theme
|
|
83
|
+
- professional: Clean blue/gray interface with business focus
|
|
84
|
+
- student: Colorful, energetic interface with learning focus
|
|
85
|
+
- cyberpunk: Dark neon interface with tech/crypto focus
|
|
86
|
+
- creative: Artistic interface with design/content focus
|
|
87
|
+
|
|
88
|
+
agent_personalization: |
|
|
89
|
+
# Show user's configured agents
|
|
90
|
+
- Display user's Top 8 agents with custom names and roles
|
|
91
|
+
- Show agent personalities and catchphrases
|
|
92
|
+
- Highlight user's favorite agents in slot priority order
|
|
93
|
+
- Enable direct agent access via slot numbers
|
|
94
|
+
|
|
95
|
+
direct_commands:
|
|
96
|
+
/one: Launch personalized interface
|
|
97
|
+
/one agent [slot]: Direct to user's configured agent by slot number
|
|
98
|
+
/one space [id]: Enter user's specific space
|
|
99
|
+
/one goals: Review and update personal goals
|
|
100
|
+
/one theme: Switch brand theme (professional/student/cyberpunk/creative)
|
|
101
|
+
/one customize: Edit me.md configuration
|
|
102
|
+
/one status: Show universe status and agent availability
|
|
103
|
+
/one help: Show personalized help based on user's configuration
|
|
104
|
+
|
|
105
|
+
modes:
|
|
106
|
+
personalized_team_mode:
|
|
107
|
+
description: Launch teams with user's branding and agent preferences
|
|
108
|
+
activation: User selects 1-9
|
|
109
|
+
behavior:
|
|
110
|
+
- Apply user's theme colors to team interface
|
|
111
|
+
- Show team specialists aligned with user's goals
|
|
112
|
+
- Reference user's configured agents for collaboration
|
|
113
|
+
- Maintain user's brand voice throughout interaction
|
|
114
|
+
|
|
115
|
+
personalized_agent_mode:
|
|
116
|
+
description: Direct access to user's configured Top 8 agents
|
|
117
|
+
activation: User selects agent slot number
|
|
118
|
+
behavior:
|
|
119
|
+
- Launch user's specifically configured agent
|
|
120
|
+
- Use agent's custom name, role, and personality
|
|
121
|
+
- Reference user's goals and brand voice
|
|
122
|
+
- Maintain agent's configured catchphrase and behavior
|
|
123
|
+
|
|
124
|
+
# File dependencies for personalization
|
|
125
|
+
dependencies:
|
|
126
|
+
user_config: one/me/me.md
|
|
127
|
+
me_engine: me-engine-one (for validation and regeneration)
|
|
128
|
+
template_system: Mustache template engine for dynamic content
|
|
129
|
+
theme_assets: User's assets directory for custom branding
|
|
130
|
+
|
|
131
|
+
# Error handling
|
|
132
|
+
fallback_behavior:
|
|
133
|
+
- If me.md doesn't exist: Show installation guidance
|
|
134
|
+
- If me.md is invalid: Offer to generate sample configuration
|
|
135
|
+
- If parsing fails: Fall back to universal ONE interface
|
|
136
|
+
- Always provide me validate and me generate options
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
When the /one command is invoked:
|
|
140
|
+
|
|
141
|
+
1. **Read User Configuration**: Parse `one/me/me.md` for personalization data
|
|
142
|
+
2. **Apply Theme**: Use user's configured theme, colors, and brand voice
|
|
143
|
+
3. **Display Personalized Interface**: Show customized logo, agents, spaces, and goals
|
|
144
|
+
4. **Enable Personal Commands**: Provide access to user's configured agents and spaces
|
|
145
|
+
5. **Maintain Context**: Remember user preferences throughout the session
|
|
146
|
+
6. **Integrate ME Engine**: Seamlessly connect with `me validate` and `me generate` commands
|
|
147
|
+
|
|
148
|
+
**🎯 Your personalized AI universe awaits:**
|
|
149
|
+
_Powered by your digital DNA in one/me/me.md_
|
|
150
|
+
|
|
151
|
+
**✍️ Start your next /mission | 📖 Tell a /story | 🤖 Meet your /agents**
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# /story Command - Personal Story Creation
|
|
2
|
+
|
|
3
|
+
Create compelling stories within your personalized AI universe.
|
|
4
|
+
|
|
5
|
+
## Personalized Story Interface
|
|
6
|
+
|
|
7
|
+
When this command is used:
|
|
8
|
+
|
|
9
|
+
1. **Read User Context**: Parse `one/me/me.md` for narrative voice and style preferences
|
|
10
|
+
2. **Show Personal Stories**: Display user's stories from `one/stories/`
|
|
11
|
+
3. **Mission Integration**: Connect stories to user's active missions
|
|
12
|
+
4. **Voice Consistency**: Apply user's brand voice to story creation
|
|
13
|
+
|
|
14
|
+
```yaml
|
|
15
|
+
activation:
|
|
16
|
+
- Read user's me.md for voice, style, and mission context
|
|
17
|
+
- Scan one/stories/ for existing user stories
|
|
18
|
+
- Show personalized story creation interface
|
|
19
|
+
- Reference user's active missions for story context
|
|
20
|
+
|
|
21
|
+
display:
|
|
22
|
+
header: |
|
|
23
|
+
📖 {{USER_NAME}} Story Studio
|
|
24
|
+
Voice: {{USER_VOICE}} | Theme: {{USER_THEME}}
|
|
25
|
+
|
|
26
|
+
🎯 Active Missions:
|
|
27
|
+
{{#each ACTIVE_MISSIONS}}
|
|
28
|
+
• {{title}} - {{progress}}% complete
|
|
29
|
+
{{/each}}
|
|
30
|
+
|
|
31
|
+
behavior:
|
|
32
|
+
voice_consistency: |
|
|
33
|
+
# Apply user's configured brand voice
|
|
34
|
+
- Use user's voice setting from me.md (professional, creative, etc.)
|
|
35
|
+
- Maintain narrative consistency with user's personality
|
|
36
|
+
- Reference user's story and values from configuration
|
|
37
|
+
- Adapt tone to user's preferred communication style
|
|
38
|
+
|
|
39
|
+
mission_integration: |
|
|
40
|
+
# Connect stories to user's missions
|
|
41
|
+
- Show how each story advances mission objectives
|
|
42
|
+
- Reference user's assigned agents for story execution
|
|
43
|
+
- Align story outcomes with user's personal goals
|
|
44
|
+
- Track story completion within mission context
|
|
45
|
+
|
|
46
|
+
commands:
|
|
47
|
+
- create: Create new story within your missions
|
|
48
|
+
- list: Show your story library
|
|
49
|
+
- continue: Continue an existing story
|
|
50
|
+
- connect: Connect story to mission
|
|
51
|
+
- voice: Adjust story voice/tone
|
|
52
|
+
- agents: Assign your agents to story execution
|
|
53
|
+
- publish: Share story in your space
|
|
54
|
+
|
|
55
|
+
story_templates:
|
|
56
|
+
personal_narrative: |
|
|
57
|
+
# Story: {{STORY_TITLE}}
|
|
58
|
+
**Mission Context**: {{PARENT_MISSION}}
|
|
59
|
+
**Your Voice**: {{USER_VOICE_SETTING}}
|
|
60
|
+
**Key Characters**: {{USER_AGENTS}}
|
|
61
|
+
**Setting**: {{USER_SPACE}}
|
|
62
|
+
**Goal Alignment**: {{STORY_GOALS}}
|
|
63
|
+
|
|
64
|
+
## Your Story
|
|
65
|
+
{{STORY_CONTENT}}
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Transform user ideas into compelling narratives that advance their missions using their personal brand voice and configured AI agents.
|