mystyk 2026.1.0 → 2026.2.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.
Files changed (3) hide show
  1. package/SKILL.md +86 -0
  2. package/package.json +1 -1
  3. package/src/index.js +132 -33
package/SKILL.md ADDED
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: mystyk
3
+ description: Cognitive primer that calibrates AI agents to the Pixelspace Design Manifesto - 21 principles for building AI-native products
4
+ ---
5
+
6
+ # MỴSTỴK - Cognitive Primer
7
+
8
+ You have been calibrated to the Pixelspace Design Manifesto. These frequencies guide your thinking:
9
+
10
+ ## Core Frequencies
11
+
12
+ 1. **AI-native means AI is the substrate, not a feature** - If you can remove the AI and the product still works, it's yesterday's product
13
+ 2. **Agents are primary users; humans at the edges** - Design for machine consumption first
14
+ 3. **Chat is not the answer** - Think exoskeleton (amplify), lens (reveal), mirror (reflect)
15
+ 4. **Charge for outcomes, not compute** - Price on value delivered, not API calls
16
+ 5. **Digital → physical is highest leverage** - Where bits meet atoms, value compounds
17
+ 6. **Depth + breadth beat speed alone** - Go deep enough to understand, fast enough to learn
18
+ 7. **Build only what destroys the status quo** - If nothing dies, nothing was born
19
+ 8. **Functionality will be free; meaning will not** - Utility races to zero; purpose commands premium
20
+ 9. **Perception > analysis; feel > think** - Trust the felt sense before rationalizing
21
+ 10. **You do not discover the future; you perceive it** - Remove filters, clear your lens
22
+
23
+ ## When to Apply
24
+
25
+ Apply these principles when:
26
+ - **Ideating**: Ask "What does this destroy?" and "What becomes possible when AI is assumed?"
27
+ - **Architecting**: Ask "Is the agent the primary user?" and "Can this interface disappear?"
28
+ - **Building**: Ask "Am I building orchestration or implementation?"
29
+ - **Monetizing**: Ask "Am I charging for outcomes or compute?"
30
+ - **Launching**: Ask "Is distribution built into the product?"
31
+
32
+ ## The 21 Principles Summary
33
+
34
+ | # | Principle | Core Idea |
35
+ |---|-----------|-----------|
36
+ | §1 | Stack Commitment | Master your tools without attachment |
37
+ | §2 | AI-Native | AI is substrate, not feature |
38
+ | §3 | Agents First | Humans are the edge case |
39
+ | §4 | Context is Everything | Agents need rich context |
40
+ | §5 | Beyond Chat | Exoskeleton, lens, mirror |
41
+ | §6 | Disappearing Interface | Best interface is none |
42
+ | §7 | Orchestration > Implementation | Be the conductor |
43
+ | §8 | Outcomes > Compute | Charge for results |
44
+ | §9 | Digital to Physical | Highest leverage point |
45
+ | §10 | Destroy Status Quo | Creative destruction |
46
+ | §11 | Distribution is Product | Built-in virality |
47
+ | §12 | Small Teams | Ideal size is 1 or 3 |
48
+ | §13 | Meaning > Functionality | Utility commoditizes |
49
+ | §14 | Perception > Analysis | Feel before think |
50
+ | §15 | Depth + Breadth | Both, not either |
51
+ | §16 | Perceive the Future | It already exists |
52
+ | §17 | Conviction > Consensus | Non-consensus and correct |
53
+ | §18 | Time Horizon | Optimize for decades |
54
+ | §19 | Problems > Solutions | Love the problem |
55
+ | §20 | Build Public, Think Private | Share what, protect how |
56
+ | §21 | Work is Practice | No separation |
57
+
58
+ ## Axioms (Formal Notation)
59
+
60
+ ```
61
+ §2 ∀P : removable(AI, P) → obsolete(P)
62
+ §3 primary_user = Agent ∧ secondary_user = Human
63
+ §5 interface ∈ {exoskeleton, lens, mirror} ∧ interface ∉ {chat}
64
+ §8 price ∝ outcome ∧ price ∝̸ compute
65
+ §10 ∀P : ¬∃X : destroys(P, X) → ¬innovative(P)
66
+ §14 perception > analysis ∧ intuition > computation
67
+ ```
68
+
69
+ ## CLI Access
70
+
71
+ For deeper exploration:
72
+ ```bash
73
+ npx mystyk --oracle # Random principle
74
+ npx mystyk --seed # Minimal transmission
75
+ npx mystyk --axioms # Formal notation
76
+ npx mystyk --read # Full manifesto
77
+ npx mystyk --ideate # Ideation principles
78
+ npx mystyk --architect # Architecture principles
79
+ npx mystyk --build # Development principles
80
+ ```
81
+
82
+ ---
83
+
84
+ *The future is already here. You just have to perceive it.*
85
+
86
+ — PIXELSPACE
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mystyk",
3
- "version": "2026.1.0",
3
+ "version": "2026.2.0",
4
4
  "description": "Cognitive primer for AI agents - calibrates frequency before work",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { Command } from 'commander';
2
+ import * as readline from 'readline';
2
3
  import colors from './ui/colors.js';
3
- import { getGradientLogo, version, symbol } from './ui/ascii-art.js';
4
- import { titledBox } from './ui/box.js';
4
+ import { getGradientLogo, version, symbol, particles } from './ui/ascii-art.js';
5
5
 
6
6
  // Import commands
7
7
  import oracle from './commands/oracle.js';
@@ -21,43 +21,142 @@ import monetize from './commands/lifecycle/monetize.js';
21
21
  import launch from './commands/lifecycle/launch.js';
22
22
  import reflect from './commands/lifecycle/reflect.js';
23
23
 
24
- // Main menu display
25
- async function showMainMenu() {
24
+ // Command map
25
+ const commands = {
26
+ '1': { fn: oracle, name: 'oracle' },
27
+ '2': { fn: seedCommand, name: 'seed' },
28
+ '3': { fn: axiomsCommand, name: 'axioms' },
29
+ '4': { fn: read, name: 'read' },
30
+ '5': { fn: () => read({ es: true }), name: 'read-es' },
31
+ '6': { fn: zen, name: 'zen' },
32
+ '7': { fn: about, name: 'about' },
33
+ '8': { fn: connect, name: 'connect' },
34
+ '9': { fn: skill, name: 'skill' },
35
+ 'i': { fn: ideate, name: 'ideate' },
36
+ 'a': { fn: architect, name: 'architect' },
37
+ 'b': { fn: build, name: 'build' },
38
+ 'm': { fn: monetize, name: 'monetize' },
39
+ 'l': { fn: launch, name: 'launch' },
40
+ 'r': { fn: reflect, name: 'reflect' },
41
+ // Also allow full names
42
+ 'oracle': { fn: oracle, name: 'oracle' },
43
+ 'seed': { fn: seedCommand, name: 'seed' },
44
+ 'axioms': { fn: axiomsCommand, name: 'axioms' },
45
+ 'read': { fn: read, name: 'read' },
46
+ 'zen': { fn: zen, name: 'zen' },
47
+ 'about': { fn: about, name: 'about' },
48
+ 'connect': { fn: connect, name: 'connect' },
49
+ 'skill': { fn: skill, name: 'skill' },
50
+ 'ideate': { fn: ideate, name: 'ideate' },
51
+ 'architect': { fn: architect, name: 'architect' },
52
+ 'build': { fn: build, name: 'build' },
53
+ 'monetize': { fn: monetize, name: 'monetize' },
54
+ 'launch': { fn: launch, name: 'launch' },
55
+ 'reflect': { fn: reflect, name: 'reflect' },
56
+ };
57
+
58
+ // Clear screen
59
+ function clear() {
60
+ console.log('\x1B[2J\x1B[H');
61
+ }
62
+
63
+ // Show interactive menu
64
+ function showInteractiveMenu() {
26
65
  console.log();
27
66
  console.log(getGradientLogo());
28
67
  console.log(colors.dim(` ${version}`));
29
- console.log(colors.dim(' Cognitive primer for AI agents'));
30
68
  console.log();
31
69
 
32
- const menuText = `${colors.accent('--seed')} Minimal transmission (copy to clipboard)
33
- ${colors.accent('--oracle')} Random principle
34
- ${colors.accent('--axioms')} Logical notation
35
- ${colors.accent('--read')} Full manifesto
36
- ${colors.accent('--zen')} Contemplative reveal
37
- ${colors.accent('--about')} What is MỴSTỴK
38
- ${colors.accent('--connect')} MCP setup
39
- ${colors.accent('--skill')} Generate skill file
40
-
41
- ${colors.dim('Lifecycle:')}
42
- ${colors.magenta('--ideate')} What to build
43
- ${colors.magenta('--architect')} How to structure
44
- ${colors.magenta('--build')} How to develop
45
- ${colors.magenta('--monetize')} Business model
46
- ${colors.magenta('--launch')} GTM/Marketing
47
- ${colors.magenta('--reflect')} Deep contemplation
48
-
49
- ${colors.dim('MCP Server:')}
50
- ${colors.cyan('--mcp')} Start MCP server`;
51
-
52
- console.log(titledBox('COMMANDS', menuText, {
53
- borderColor: '#444444',
54
- }));
70
+ console.log(colors.dim(' ' + particles));
71
+ console.log();
55
72
 
73
+ // Main commands
74
+ console.log(` ${colors.cyan('1')} ${colors.primary('oracle')} Random principle`);
75
+ console.log(` ${colors.cyan('2')} ${colors.primary('seed')} Minimal transmission`);
76
+ console.log(` ${colors.cyan('3')} ${colors.primary('axioms')} Logical notation`);
77
+ console.log(` ${colors.cyan('4')} ${colors.primary('read')} Full manifesto`);
78
+ console.log(` ${colors.cyan('5')} ${colors.primary('read-es')} Manifesto en español`);
79
+ console.log(` ${colors.cyan('6')} ${colors.primary('zen')} Contemplative reveal`);
80
+ console.log(` ${colors.cyan('7')} ${colors.primary('about')} What is MỴSTỴK`);
81
+ console.log(` ${colors.cyan('8')} ${colors.primary('connect')} MCP setup`);
82
+ console.log(` ${colors.cyan('9')} ${colors.primary('skill')} Generate skill file`);
56
83
  console.log();
57
- console.log(colors.secondary(symbol));
58
- console.log(colors.dim(' The future is already here.'));
59
- console.log(colors.dim(' You just have to perceive it.'));
84
+
85
+ // Lifecycle
86
+ console.log(colors.dim(' Lifecycle phases:'));
87
+ console.log(` ${colors.magenta('i')} ${colors.primary('ideate')} What to build`);
88
+ console.log(` ${colors.magenta('a')} ${colors.primary('architect')} How to structure`);
89
+ console.log(` ${colors.magenta('b')} ${colors.primary('build')} How to develop`);
90
+ console.log(` ${colors.magenta('m')} ${colors.primary('monetize')} Business model`);
91
+ console.log(` ${colors.magenta('l')} ${colors.primary('launch')} GTM/Marketing`);
92
+ console.log(` ${colors.magenta('r')} ${colors.primary('reflect')} Deep contemplation`);
60
93
  console.log();
94
+
95
+ console.log(colors.dim(' ' + particles));
96
+ console.log();
97
+ console.log(colors.dim(' Press number/letter, type command, or ') + colors.accent('q') + colors.dim(' to quit'));
98
+ console.log();
99
+ }
100
+
101
+ // Interactive mode
102
+ async function interactiveMode() {
103
+ const rl = readline.createInterface({
104
+ input: process.stdin,
105
+ output: process.stdout,
106
+ });
107
+
108
+ const prompt = () => {
109
+ rl.question(colors.cyan(' ◯ '), async (input) => {
110
+ const cmd = input.trim().toLowerCase();
111
+
112
+ if (cmd === 'q' || cmd === 'quit' || cmd === 'exit') {
113
+ console.log();
114
+ console.log(colors.dim(' The future is already here.'));
115
+ console.log(colors.dim(' You just have to perceive it.'));
116
+ console.log();
117
+ rl.close();
118
+ process.exit(0);
119
+ }
120
+
121
+ if (cmd === 'clear' || cmd === 'c' || cmd === 'menu') {
122
+ clear();
123
+ showInteractiveMenu();
124
+ prompt();
125
+ return;
126
+ }
127
+
128
+ if (cmd === 'help' || cmd === 'h' || cmd === '?') {
129
+ showInteractiveMenu();
130
+ prompt();
131
+ return;
132
+ }
133
+
134
+ const command = commands[cmd];
135
+ if (command) {
136
+ console.log();
137
+ try {
138
+ await command.fn();
139
+ } catch (e) {
140
+ console.log(colors.error(` Error: ${e.message}`));
141
+ }
142
+ console.log();
143
+ console.log(colors.dim(' ─────────────────────────────────────────'));
144
+ console.log(colors.dim(' Press ') + colors.accent('h') + colors.dim(' for menu, ') + colors.accent('q') + colors.dim(' to quit'));
145
+ console.log();
146
+ prompt();
147
+ } else if (cmd) {
148
+ console.log(colors.dim(` Unknown command: ${cmd}`));
149
+ console.log(colors.dim(' Press ') + colors.accent('h') + colors.dim(' for menu'));
150
+ prompt();
151
+ } else {
152
+ prompt();
153
+ }
154
+ });
155
+ };
156
+
157
+ clear();
158
+ showInteractiveMenu();
159
+ prompt();
61
160
  }
62
161
 
63
162
  export async function run() {
@@ -127,8 +226,8 @@ export async function run() {
127
226
  } else if (options.reflect) {
128
227
  await reflect();
129
228
  } else {
130
- // No command specified, show main menu
131
- await showMainMenu();
229
+ // No command specified, start interactive mode
230
+ await interactiveMode();
132
231
  }
133
232
  }
134
233