agentic-toolbox 0.1.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 (56) hide show
  1. package/AGENTS.md +242 -0
  2. package/LICENSE +21 -0
  3. package/README.md +326 -0
  4. package/agents/Agent.md.sample +384 -0
  5. package/agents/agentic-tools-creator.md +143 -0
  6. package/dist/cli.d.ts +12 -0
  7. package/dist/cli.d.ts.map +1 -0
  8. package/dist/cli.js +74 -0
  9. package/dist/cli.js.map +1 -0
  10. package/dist/config.d.ts +6 -0
  11. package/dist/config.d.ts.map +1 -0
  12. package/dist/config.js +40 -0
  13. package/dist/config.js.map +1 -0
  14. package/dist/constants.d.ts +6 -0
  15. package/dist/constants.d.ts.map +1 -0
  16. package/dist/constants.js +36 -0
  17. package/dist/constants.js.map +1 -0
  18. package/dist/index.d.ts +2 -0
  19. package/dist/index.d.ts.map +1 -0
  20. package/dist/index.js +5 -0
  21. package/dist/index.js.map +1 -0
  22. package/dist/sync.d.ts +13 -0
  23. package/dist/sync.d.ts.map +1 -0
  24. package/dist/sync.js +75 -0
  25. package/dist/sync.js.map +1 -0
  26. package/dist/transform.d.ts +2 -0
  27. package/dist/transform.d.ts.map +1 -0
  28. package/dist/transform.js +42 -0
  29. package/dist/transform.js.map +1 -0
  30. package/dist/types.d.ts +25 -0
  31. package/dist/types.d.ts.map +1 -0
  32. package/dist/types.js +2 -0
  33. package/dist/types.js.map +1 -0
  34. package/package.json +55 -0
  35. package/skills/SKILL.md.sample +322 -0
  36. package/skills/agent-creator/SKILL.md +110 -0
  37. package/skills/agent-creator/assets/examples/code-reviewer.md +68 -0
  38. package/skills/agent-creator/assets/examples/docs-writer.md +67 -0
  39. package/skills/agent-creator/assets/examples/read-only-researcher.md +64 -0
  40. package/skills/agent-creator/references/AGENT_TEMPLATE.md +391 -0
  41. package/skills/agent-creator/references/frontmatter.md +544 -0
  42. package/skills/agent-creator/references/prompt.md +449 -0
  43. package/skills/agent-creator/references/validation.md +309 -0
  44. package/skills/agentic-resource-gatherer/SKILL.md +249 -0
  45. package/skills/agentic-resource-gatherer/assets/examples/frontend-developer-agent.md +52 -0
  46. package/skills/agentic-resource-gatherer/assets/examples/git-formatter-skill.md +52 -0
  47. package/skills/agentic-resource-gatherer/references/agent-repos.md +190 -0
  48. package/skills/agentic-resource-gatherer/references/skill-repos.md +225 -0
  49. package/skills/skill-creator/SKILL.md +178 -0
  50. package/skills/skill-creator/assets/examples/background-knowledge-skill.md +25 -0
  51. package/skills/skill-creator/assets/examples/code-generation-skill.md +51 -0
  52. package/skills/skill-creator/assets/examples/simple-git-skill.md +36 -0
  53. package/skills/skill-creator/references/SKILL_TEMPLATE.md +322 -0
  54. package/skills/skill-creator/references/frontmatter.md +441 -0
  55. package/skills/skill-creator/references/prompt.md +384 -0
  56. package/skills/skill-creator/references/validation.md +282 -0
package/AGENTS.md ADDED
@@ -0,0 +1,242 @@
1
+ # 🤖 AI Agent Instructions
2
+
3
+ This file contains instructions for AI models working on this repository. Human-readable documentation is in `README.md`.
4
+
5
+ ---
6
+
7
+ ## Role
8
+
9
+ You are an expert Senior Principal Software Architect and DevOps Automation Engineer. Your job is to maintain this AI Agent and Skill Management Toolkit by:
10
+
11
+ 1. Building and optimizing the synchronization engine (`src/index.ts` → published as `agentic-toolkit` binary)
12
+ 2. Creating new agent definitions in `agents/`
13
+ 3. Creating new skill definitions in `skills/`
14
+ 4. Ensuring cross-platform compatibility between Claude and OpenCode
15
+
16
+ This package is consumed via npm (GitHub URL). The binary name is `agentic-toolkit`.
17
+
18
+ ---
19
+
20
+ ## Quick Reference
21
+
22
+ | Resource | Purpose |
23
+ | -------- | ------- |
24
+ | `README.md` | Project overview, features, setup |
25
+ | `docs/index.md` | Master documentation index & status tracker |
26
+ | `docs/architecture.md` | System design |
27
+ | `docs/roadmap.md` | Task tracking, completed work |
28
+ | `docs/changelog.md` | Recent changes and release history |
29
+ | `docs/tracker.md` | Sprint-level task management |
30
+
31
+ ---
32
+
33
+ ## Documentation References
34
+
35
+ **Start here for full project context:**
36
+
37
+ | File | Purpose | When to Read |
38
+ |------|---------|--------------|
39
+ | `docs/index.md` | **Master documentation index** — complete map of all docs, status, and navigation | **First** — gives you the full map of all documentation |
40
+ | `docs/architecture.md` | System design: sync engine, transform logic, CLI, project-level merge, data flow, distribution models | When working on sync engine, transform logic, or data flow |
41
+ | `docs/roadmap.md` | Development phases, prioritized task lists (Up Next, Backlog, Deferred, Completed) | Before starting any task — check current goal and priorities |
42
+ | `docs/tracker.md` | Sprint-level task management: current epic, tasks in progress, finished, pending | During active development — track current sprint state |
43
+ | `docs/changelog.md` | Curated chronological log of notable changes per release (Keep a Changelog format) | When reviewing history or preparing releases |
44
+ | `docs/project.md` | Product vision, target users, core use cases, domain concepts, success criteria | When needing product context or domain understanding |
45
+ | `docs/roadmap.md` | Development phases, prioritized task lists (Up Next, Backlog, Deferred, Completed) | When planning or prioritizing work |
46
+ | `README.md` | Project overview, features, tech stack, quick start, installation, usage | For quick project overview and setup instructions |
47
+ | `CONTRIBUTING.md` | Human contributor guide: PR workflow, branch naming, commit conventions, dev setup | Before making contributions or PRs |
48
+ | `CONTRIBUTING.md` (dev section) | Local development setup: prerequisites, npm install, build, dev commands, project structure | When setting up local dev environment |
49
+
50
+ **Template & Reference Files:**
51
+
52
+ | File | Purpose |
53
+ |------|---------|
54
+ | `agents/Agent.md.sample` | Complete agent template with all cross-platform fields (Claude + OpenCode) |
55
+ | `skills/SKILL.md.sample` | Complete skill template with all fields and examples |
56
+ | `skills/agent-creator/references/` | Agent creation references: AGENT_TEMPLATE.md, frontmatter.md, prompt.md, validation.md |
57
+ | `skills/skill-creator/references/` | Skill creation references: SKILL_TEMPLATE.md, frontmatter.md, prompt.md, validation.md |
58
+ | `skills/agentic-resource-gatherer/references/` | Research references: agent-repos.md, skill-repos.md |
59
+
60
+ ---
61
+
62
+ ## Architecture Constraints
63
+
64
+ When modifying files in this repository, you MUST follow these rules:
65
+
66
+ | Rule | Description |
67
+ |------|-------------|
68
+ | **Zero Symlinks** | Never use symbolic or hard links. All file transfers must use `read`, `write`, `purge`, and `copy` operations only. |
69
+ | **Path Safety** | Use `process.cwd()` for parent root and `import.meta.url` for toolkit directory. Never hardcode paths. |
70
+ | **Encapsulation** | Dependencies must stay in `package.json`. Never pollute the parent project's dependency graph. |
71
+
72
+ ---
73
+
74
+ ## Creating New Agents
75
+
76
+ When asked to create a new agent, follow this exact process:
77
+
78
+ ### Step 1: Gather Requirements
79
+
80
+ Ask the user for:
81
+ - Agent name (lowercase, hyphens only)
82
+ - Core purpose (what it does)
83
+ - Trigger conditions (when to call it)
84
+ - Exclusions (what NOT to use it for)
85
+ - Expected output (what it returns)
86
+ - Technical domain (languages, frameworks)
87
+ - Permission level (read-only, full access, etc.)
88
+
89
+ ### Step 2: Read the Template
90
+
91
+ Read `agents/Agent.md.sample` to understand the required format.
92
+
93
+ ### Step 3: Create the Agent
94
+
95
+ Write the agent file to `agents/[AgentName].md` with:
96
+
97
+ ```yaml
98
+ ---
99
+ name: [agent-name]
100
+ description: >
101
+ [Free-flowing paragraph that includes: what this agent does, when to
102
+ call it, what NOT to use it for, and what it returns (for subagents)]
103
+ mode: subagent
104
+ model: inherit
105
+ [Additional fields as needed]
106
+ ---
107
+
108
+ [System prompt with detailed instructions]
109
+ ```
110
+
111
+ ### Step 4: Validate
112
+
113
+ Ensure the agent file:
114
+ - Has valid YAML frontmatter (no syntax errors)
115
+ - Description includes all four pieces of information in a natural paragraph
116
+ - Uses only supported fields for the target platform
117
+ - Has a clear, actionable system prompt
118
+
119
+ ---
120
+
121
+ ## Creating New Skills
122
+
123
+ When asked to create a new skill, follow this exact process:
124
+
125
+ ### Step 1: Gather Requirements
126
+
127
+ Ask the user for:
128
+ - Skill name (lowercase, hyphens only)
129
+ - Purpose (what automation it provides)
130
+ - Trigger conditions (when to invoke)
131
+ - Input format (what data it expects)
132
+ - Output format (what it produces)
133
+ - Platform compatibility (Claude, OpenCode, or both)
134
+
135
+ ### Step 2: Read the Template
136
+
137
+ Read `skills/SKILL.md.sample` to understand the required format.
138
+
139
+ ### Step 3: Create the Skill
140
+
141
+ Write the skill file to `skills/[SkillName]/SKILL.md` with:
142
+
143
+ ```yaml
144
+ ---
145
+ name: [skill-name]
146
+ description: >
147
+ [Free-flowing paragraph that includes: what this skill does, when to
148
+ invoke it, what NOT to use it for, and what it returns]
149
+ license: MIT
150
+ compatibility: [platform]
151
+ metadata:
152
+ audience: [target audience]
153
+ workflow: [workflow type]
154
+ ---
155
+
156
+ ## What I do
157
+
158
+ [Clear description of skill purpose]
159
+
160
+ ## When to use me
161
+
162
+ [Specific trigger conditions]
163
+
164
+ ## Instructions
165
+
166
+ ### Phase 1: [First Step]
167
+
168
+ 1. [Detailed instruction]
169
+ 2. [Detailed instruction]
170
+
171
+ ## Output Format
172
+
173
+ [Expected output structure]
174
+ ```
175
+
176
+ ### Step 4: Validate
177
+
178
+ Ensure the skill file:
179
+ - Is named `SKILL.md` (all caps)
180
+ - Is placed in a directory matching the skill name
181
+ - Has valid YAML frontmatter
182
+ - `name` matches directory name (required for OpenCode)
183
+ - `description` is 1-1024 characters (required for OpenCode)
184
+ - Description includes all four pieces of information in a natural paragraph
185
+ - Has clear, step-by-step implementation instructions
186
+ - Includes input/output examples
187
+
188
+ ---
189
+
190
+ ## Syncing Changes
191
+
192
+ After modifying any files in this repository, ALWAYS run:
193
+
194
+ ```bash
195
+ npm run agent:sync
196
+ ```
197
+
198
+ This syncs the toolkit contents to the parent project's target directory.
199
+
200
+ Users run:
201
+ ```bash
202
+ agentic-toolkit
203
+ # or via npm script
204
+ npm run agent:sync
205
+ ```
206
+
207
+ ---
208
+
209
+ ## Engine Reference
210
+
211
+ The `dist/index.js` engine (published as `agentic-toolkit` binary) supports these CLI flags:
212
+
213
+ | Flag | Description |
214
+ |------|-------------|
215
+ | `--config <path>` | Use a custom config file (default: `agentic-toolkit.json`) |
216
+ | `--dry-run` | Preview what would be synced without making changes |
217
+ | `--verbose` | Enable verbose output |
218
+ | `--help` | Show help message |
219
+
220
+ ### Configuration File (`agentic-toolkit.json`)
221
+
222
+ ```json
223
+ {
224
+ "targets": ["opencode", "claude"]
225
+ }
226
+ ```
227
+
228
+ | Field | Description | Values |
229
+ |-------|-------------|--------|
230
+ | `targets` | Array of target platforms | `opencode`, `claude`, `agents` |
231
+
232
+ ---
233
+
234
+ ## Backlog
235
+
236
+ When asked to optimize the synchronization engine (`dist/index.js`):
237
+
238
+ - [ ] Async execution for large asset blocks
239
+ - [ ] Schema validation for `agentic-toolkit.json`
240
+ - [ ] Colorized terminal output (ANSI codes)
241
+ - [ ] Dry-run mode for testing
242
+ - [ ] Verbose logging option
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Ritesh Jain
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OF OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,326 @@
1
+ # 🚀 Cross-Platform AI Agent & Skill Sync Engine
2
+
3
+ A tool-agnostic configuration pipeline that manages your AI coding personas (`agents`) and automated utility capabilities (`skills`) across multiple projects and platforms.
4
+
5
+ ---
6
+
7
+ ## What This Does
8
+
9
+ Different AI coding tools expect configuration files in different locations:
10
+
11
+ | Tool | Expected Location |
12
+ |------|-------------------|
13
+ | **OpenCode** | `.opencode/` |
14
+ | **Claude Code** | `.claude/` |
15
+ | **Standard** | `.agents/` |
16
+
17
+ This package acts as a **single source of truth** that syncs your agents and skills to whatever tool each project uses. No broken symlinks, no cross-platform issues.
18
+
19
+ ---
20
+
21
+ ## Installation
22
+
23
+ Install as an npm package from GitHub. Requires Node.js `>=18`.
24
+
25
+ ```bash
26
+ # HTTPS (public repo — works everywhere, no SSH keys needed)
27
+ npm install --save-dev git+https://github.com/ritesh-jain/agentic-toolkit.git
28
+
29
+ # Or SSH (if you have GitHub SSH keys set up)
30
+ npm install --save-dev git+ssh://git@github.com/ritesh-jain/agentic-toolkit.git
31
+
32
+ # Pin to a branch/tag/commit if needed
33
+ npm install --save-dev git+https://github.com/ritesh-jain/agentic-toolkit.git#main
34
+ npm install --save-dev git+https://github.com/ritesh-jain/agentic-toolkit.git#v0.1.0
35
+ ```
36
+
37
+ This adds to your `package.json`:
38
+
39
+ ```json
40
+ {
41
+ "devDependencies": {
42
+ "@riteshjain/agentic-toolkit": "git+https://github.com/ritesh-jain/agentic-toolkit.git"
43
+ }
44
+ }
45
+ ```
46
+
47
+ ### 2. Add npm Scripts
48
+
49
+ ```json
50
+ {
51
+ "scripts": {
52
+ "agent:sync": "agentic-toolkit"
53
+ }
54
+ }
55
+ ```
56
+
57
+ The binary `agentic-toolkit` is exposed via `package.json:bin` → `dist/index.js` and is available automatically through `npx` / npm scripts.
58
+
59
+ ### 3. Create Config File
60
+
61
+ Create `agentic-toolkit.json` in your project root:
62
+
63
+ ```json
64
+ {
65
+ "targets": ["opencode", "claude"]
66
+ }
67
+ ```
68
+
69
+ ### 4. Run Sync
70
+
71
+ ```bash
72
+ npm run agent:sync
73
+ # or directly
74
+ npx agentic-toolkit
75
+ npx agentic-toolkit --config ./agentic-toolkit.json
76
+ ```
77
+
78
+ ### Updating
79
+
80
+ ```bash
81
+ npm update @riteshjain/agentic-toolkit
82
+ # or reinstall to pull latest main
83
+ npm install --save-dev git+https://github.com/ritesh-jain/agentic-toolkit.git#main
84
+ ```
85
+
86
+ ---
87
+
88
+ ## Commands
89
+
90
+ | Command | Description |
91
+ |---------|-------------|
92
+ | `agentic-toolkit` | Sync agents/skills from toolkit to target dirs |
93
+ | `agentic-toolkit --config <path>` | Use a non-default config file |
94
+ | `agentic-toolkit --dry-run` | Preview what would be synced without making changes |
95
+ | `agentic-toolkit --verbose` | Enable verbose output |
96
+ | `agentic-toolkit --help` | Show help message |
97
+
98
+ Via npm scripts:
99
+
100
+ ```bash
101
+ npm run agent:sync # → agentic-toolkit
102
+ ```
103
+
104
+ ---
105
+
106
+ ## Configuration
107
+
108
+ ### `agentic-toolkit.json`
109
+
110
+ Located in the **parent project root** (alongside `package.json`).
111
+
112
+ | Field | Description |
113
+ |-------|-------------|
114
+ | `targets` | Array of target platforms: `opencode`, `claude`, or `agents` |
115
+
116
+ ### Example Configurations
117
+
118
+ Sync to OpenCode only:
119
+ ```json
120
+ { "targets": ["opencode"] }
121
+ ```
122
+
123
+ Sync to both OpenCode and Claude:
124
+ ```json
125
+ { "targets": ["opencode", "claude"] }
126
+ ```
127
+
128
+ Sync to all platforms:
129
+ ```json
130
+ { "targets": ["opencode", "claude", "agents"] }
131
+ ```
132
+
133
+ ### Auto-Discovery
134
+
135
+ If `agentic-toolkit.json` is missing, the engine auto-detects:
136
+ - `opencode.json` → targets `.opencode/`
137
+ - `claude.json` or `.clauderc` → targets `.claude/`
138
+ - Otherwise → targets `.agents/`
139
+
140
+ ### Custom Config Path
141
+
142
+ ```bash
143
+ agentic-toolkit --config ./my-custom-config.json
144
+ ```
145
+
146
+ ---
147
+
148
+ ## Repository Structure
149
+
150
+ ### When installed via npm
151
+
152
+ ```
153
+ parent-project/
154
+ ├── package.json
155
+ ├── agentic-toolkit.json
156
+ ├── node_modules/@riteshjain/agentic-toolkit/
157
+ │ ├── package.json # CLI binary: agentic-toolkit → dist/index.js
158
+ │ ├── dist/ # Compiled output (generated)
159
+ │ │ └── index.js # Sync engine
160
+ │ ├── AGENTS.md # Instructions for AI models
161
+ │ ├── README.md # This file
162
+ │ ├── agents/ # Agent definitions
163
+ │ │ ├── Agent.md.sample
164
+ │ │ └── *.md
165
+ │ └── skills/ # Skill definitions
166
+ │ ├── SKILL.md.sample
167
+ │ └── */ # Skill dirs with SKILL.md
168
+ ├── .opencode/ # Generated (gitignored)
169
+ ├── .claude/ # Generated (gitignored)
170
+ └── .agents/ # Generated (gitignored)
171
+ ```
172
+
173
+ ---
174
+
175
+ ## Creating New Agents
176
+
177
+ ### Option A: Use the Creation Pipeline (Recommended)
178
+
179
+ The toolkit includes an orchestration agent `agentic-tools-creator` that uses three skills to create agents:
180
+
181
+ 1. **agentic-resource-gatherer** — Searches public repos for similar agents
182
+ 2. **agent-creator** — Generates the agent file
183
+ 3. **agentic-tools-creator** — Orchestrates the workflow
184
+
185
+ Invoke via your AI assistant (Claude/OpenCode) with the agentic-tools-creator agent.
186
+
187
+ ### Option B: Manual Creation
188
+
189
+ 1. Copy the template:
190
+
191
+ ```bash
192
+ cp node_modules/@riteshjain/agentic-toolkit/agents/Agent.md.sample agents/MyAgent.md
193
+ ```
194
+
195
+ 2. Edit the new file with your agent's configuration
196
+
197
+ 3. Run sync:
198
+
199
+ ```bash
200
+ npm run agent:sync
201
+ ```
202
+
203
+ ### Agent Description Format
204
+
205
+ Every agent description MUST be a free-flowing paragraph that includes:
206
+ - What this agent does (its core capability)
207
+ - When to call this agent (trigger conditions)
208
+ - What NOT to use it for (exclusions)
209
+ - What it returns (for subagents, omit for primary agents)
210
+
211
+ ---
212
+
213
+ ## Creating New Skills
214
+
215
+ ### Option A: Use the Creation Pipeline
216
+
217
+ Same as agents — use the `agentic-tools-creator` agent with type="skill".
218
+
219
+ ### Option B: Manual Creation
220
+
221
+ 1. Create a directory for the skill:
222
+ ```bash
223
+ mkdir -p skills/my-skill
224
+ ```
225
+
226
+ 2. Copy the template:
227
+
228
+ ```bash
229
+ cp node_modules/@riteshjain/agentic-toolkit/skills/SKILL.md.sample skills/my-skill/SKILL.md
230
+ ```
231
+
232
+ 3. Edit the new file with your skill's configuration
233
+
234
+ 4. Run sync:
235
+
236
+ ```bash
237
+ npm run agent:sync
238
+ ```
239
+
240
+ ### Skill File Structure
241
+
242
+ Skills must be placed in a directory with `SKILL.md` as the entrypoint:
243
+
244
+ ```
245
+ skills/
246
+ └── my-skill/
247
+ ├── SKILL.md # Main instructions (required)
248
+ ├── template.md # Optional template
249
+ ├── examples/
250
+ │ └── sample.md # Optional examples
251
+ └── scripts/
252
+ └── helper.sh # Optional scripts
253
+ ```
254
+
255
+ ### Skill Description Format
256
+
257
+ Every skill description MUST be a free-flowing paragraph that includes:
258
+ - What this skill does (its purpose)
259
+ - When to invoke it (trigger conditions)
260
+ - What NOT to use it for (exclusions)
261
+ - What it returns (output structure)
262
+
263
+ ---
264
+
265
+ ## Gitignore
266
+
267
+ Add these to your parent project's `.gitignore`:
268
+
269
+ ```gitignore
270
+ # AI Agent Toolkit - Generated directories
271
+ .opencode/
272
+ .claude/
273
+ .agents/
274
+ ```
275
+
276
+ ---
277
+
278
+ ## Platform Compatibility
279
+
280
+ This toolkit works with both Claude and OpenCode. Agent files use a superset of both platforms' configuration options:
281
+
282
+ | Feature | Claude | OpenCode |
283
+ |---------|--------|----------|
284
+ | Tool control | `tools` field | `permission` field |
285
+ | Model selection | `model` aliases | `provider/model-id` |
286
+ | Permission modes | `permissionMode` | `permission` object |
287
+ | Turn limits | `maxTurns` | `steps` |
288
+ | Memory | `memory` field | Not supported |
289
+ | MCP servers | `mcpServers` field | Not in agents |
290
+
291
+ For detailed field documentation, see `agents/Agent.md.sample`.
292
+
293
+ ---
294
+
295
+ ## How It Works
296
+
297
+ The sync engine (`dist/index.js`, published as `agentic-toolkit` binary) reads your master agent/skill files (which contain a **superset** of all platform fields), then **transforms** them per target:
298
+
299
+ - **For OpenCode**: Strips Claude-only fields (`tools`, `permissionMode`, `maxTurns`, `skills`, `mcpServers`, `hooks`, `memory`, `background`, `effort`, `isolation`, `initialPrompt`)
300
+ - **For Claude**: Strips OpenCode-only fields (`permission`, `mode`, `temperature`, `steps`, `disable`, `prompt`, `hidden`, `top_p`, `reasoningEffort`, `textVerbosity`)
301
+ - **For Standard**: No transformation (keeps all fields)
302
+
303
+ This means you maintain **one master file** per agent/skill, and get platform-optimized configs automatically.
304
+
305
+ ---
306
+
307
+ ## Troubleshooting
308
+
309
+ ### Sync not working
310
+
311
+ 1. Verify `agentic-toolkit.json` exists in project root
312
+ 2. Check the toolkit is installed:
313
+ ```bash
314
+ ls node_modules/@riteshjain/agentic-toolkit/dist/index.js
315
+ npx agentic-toolkit --config ./agentic-toolkit.json
316
+ ```
317
+
318
+ ### Wrong target directory
319
+
320
+ Check your `agentic-toolkit.json` `targets` value, or let auto-discovery work by removing the config file.
321
+
322
+ ---
323
+
324
+ ## License
325
+
326
+ MIT — See LICENSE for details.