agentic-code 0.6.6 → 0.6.7

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 CHANGED
@@ -4,7 +4,7 @@ Your AI (LLM), guided by built-in workflows. Describe what you want, and it foll
4
4
 
5
5
  [![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
6
6
  [![AGENTS.md](https://img.shields.io/badge/AGENTS.md-compliant-blue.svg)](https://agents.md)
7
- [![Version](https://img.shields.io/badge/version-0.6.6-blue.svg)](package.json)
7
+ [![Version](https://img.shields.io/badge/version-0.6.7-blue.svg)](package.json)
8
8
 
9
9
  ![Demo: Building a Slack bot with Agentic Code](.github/assets/demo.gif)
10
10
 
@@ -34,7 +34,7 @@ npx agentic-code my-project && cd my-project
34
34
  # Ready to go
35
35
  ```
36
36
 
37
- That's it. Works with **any AI tool** - Codex, Cursor, Aider, or anything [AGENTS.md](https://agents.md) compatible.
37
+ That's it. Works with **any AI tool** - Cursor, Codex, Aider, or anything [AGENTS.md](https://agents.md) compatible.
38
38
 
39
39
  ## Why This Exists
40
40
 
@@ -110,6 +110,20 @@ cp -r path/to/agentic-code/.agents .
110
110
 
111
111
  `.agents/skills/` contains reusable skill files in the [Codex Skills format](https://github.com/openai/codex/blob/main/docs/skills.md). Each skill has a `SKILL.md` with instructions that AI agents can discover and apply.
112
112
 
113
+ **Cursor**: Install skills for Cursor Editor:
114
+
115
+ ```bash
116
+ # User scope (all projects)
117
+ npx agentic-code skills --cursor
118
+ # Installs to ~/.cursor/skills/agentic-code/
119
+
120
+ # Project scope (current project only)
121
+ npx agentic-code skills --cursor --project
122
+ # Installs to ./.cursor/skills/agentic-code/
123
+ ```
124
+
125
+ > Note: Skills feature in Cursor requires Nightly release channel.
126
+
113
127
  **Codex**: Install skills for Codex CLI:
114
128
 
115
129
  ```bash
@@ -120,16 +134,19 @@ npx agentic-code skills --codex
120
134
  # Project scope (current project only)
121
135
  npx agentic-code skills --codex --project
122
136
  # Installs to ./.codex/skills/agentic-code/
137
+ ```
123
138
 
124
- # Custom path
139
+ **Custom path**:
140
+
141
+ ```bash
125
142
  npx agentic-code skills --path ./custom/skills
126
143
  # Installs to ./custom/skills/agentic-code/
127
144
  ```
128
145
 
129
146
  ## Common Questions
130
147
 
131
- **Q: Can I use this with other AI coding tools besides Codex?**
132
- Yes! This framework works with any AGENTS.md-compatible tool like Cursor, Aider, and other LLM-assisted development environments.
148
+ **Q: Can I use this with other AI coding tools?**
149
+ Yes! This framework works with any AGENTS.md-compatible tool like Cursor, Codex, Aider, and other LLM-assisted development environments.
133
150
 
134
151
  **Q: What programming languages are supported?**
135
152
  The framework is language-agnostic and works with any programming language through general development principles. TypeScript-specific rules are available in `skills/*/references/typescript.md`.
package/bin/cli.js CHANGED
@@ -9,8 +9,8 @@ const args = process.argv.slice(2);
9
9
 
10
10
  // Subcommand routing
11
11
  if (args[0] === 'skills') {
12
- // Delegate to install-codex-skills
13
- const installSkills = require('./install-codex-skills');
12
+ // Delegate to install-skills
13
+ const installSkills = require('./install-skills');
14
14
  installSkills.run(args.slice(1));
15
15
  process.exit(0);
16
16
  }
@@ -24,12 +24,13 @@ if (!projectName) {
24
24
 
25
25
  Usage:
26
26
  npx agentic-code <project-name> Create a new project
27
- npx agentic-code skills [options] Install skills to Codex CLI
27
+ npx agentic-code skills [options] Install skills to Codex/Cursor
28
28
 
29
29
  Examples:
30
30
  npx agentic-code my-project
31
31
  npx agentic-code skills --codex
32
- npx agentic-code skills --codex --project
32
+ npx agentic-code skills --cursor
33
+ npx agentic-code skills --cursor --project
33
34
 
34
35
  For skills options, run: npx agentic-code skills --help
35
36
  `);
@@ -16,8 +16,12 @@ const TARGETS = {
16
16
  name: 'agentic-code',
17
17
  description: 'OpenAI Codex CLI',
18
18
  postInstall: 'Restart Codex to load the skills.\nNote: Enable skills with --enable skills flag or in config.toml'
19
+ },
20
+ cursor: {
21
+ name: 'agentic-code',
22
+ description: 'Cursor Editor',
23
+ postInstall: 'Restart Cursor to load the skills.\nNote: Skills feature requires Nightly release channel.'
19
24
  }
20
- // Future targets can be added here
21
25
  };
22
26
 
23
27
  // Get target directory based on target and scope
@@ -30,6 +34,14 @@ function getTargetDir(targetKey, scope) {
30
34
  const codexHome = process.env.CODEX_HOME || path.join(os.homedir(), '.codex');
31
35
  return path.join(codexHome, 'skills');
32
36
  }
37
+ if (targetKey === 'cursor') {
38
+ if (scope === SCOPES.project) {
39
+ return path.join(process.cwd(), '.cursor', 'skills');
40
+ }
41
+ // User scope: respect CURSOR_CONFIG_DIR environment variable
42
+ const cursorHome = process.env.CURSOR_CONFIG_DIR || path.join(os.homedir(), '.cursor');
43
+ return path.join(cursorHome, 'skills');
44
+ }
33
45
  return null;
34
46
  }
35
47
 
@@ -91,18 +103,25 @@ Usage: npx agentic-code skills [options]
91
103
 
92
104
  Options:
93
105
  --codex Install skills to Codex CLI (default)
106
+ --cursor Install skills to Cursor Editor
94
107
  --project Install to project scope instead of user scope
95
108
  --path <path> Install to custom path
96
109
  --help Show this help message
97
110
 
98
111
  Scopes:
99
- user (default) Install to user directory (~/.codex/skills/ or $CODEX_HOME/skills/)
100
- project Install to current project (./.codex/skills/)
112
+ user (default) Install to user directory
113
+ project Install to current project
114
+
115
+ Target directories:
116
+ Codex: ~/.codex/skills/ (user) or ./.codex/skills/ (project)
117
+ Cursor: ~/.cursor/skills/ (user) or ./.cursor/skills/ (project)
101
118
 
102
119
  Examples:
103
120
  npx agentic-code skills # Install to ~/.codex/skills/ (user scope)
104
121
  npx agentic-code skills --codex # Same as above (explicit)
105
122
  npx agentic-code skills --codex --project # Install to ./.codex/skills/ (project scope)
123
+ npx agentic-code skills --cursor # Install to ~/.cursor/skills/ (user scope)
124
+ npx agentic-code skills --cursor --project # Install to ./.cursor/skills/ (project scope)
106
125
  npx agentic-code skills --path ./my-skills # Install to ./my-skills/agentic-code
107
126
  `);
108
127
  process.exit(0);
@@ -112,7 +131,9 @@ Examples:
112
131
 
113
132
  // Determine target (default: codex)
114
133
  let targetKey = customPath ? 'custom' : 'codex';
115
- if (args.includes('--codex')) {
134
+ if (args.includes('--cursor')) {
135
+ targetKey = customPath ? 'custom' : 'cursor';
136
+ } else if (args.includes('--codex')) {
116
137
  targetKey = customPath ? 'custom' : 'codex';
117
138
  }
118
139
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-code",
3
- "version": "0.6.6",
3
+ "version": "0.6.7",
4
4
  "description": "Task-oriented context engineering framework for LLM coding agents - AGENTS.md standard compliant",
5
5
  "files": [
6
6
  "bin/",