Business operating system for Claude Code — 57 skills, 21 agents, smart daemon. Unified inbox (WhatsApp/Email/Slack/Telegram), autonomous PR merge, full-AWS monitoring, revenue (Stripe+RevenueCat), e-commerce (Shopify), marketing (Klaviyo/Meta/GA4), voice (Bland/ElevenLabs), APM (Datadog/NewRelic/OTEL), YOLO mode.
Shell agent-teamsai-agentai-automationanthropicautonomous-agentawsbusiness-operationsclaudeclaude-codeclaude-code-plugindevopsecommerceinbox-zeroklaviyomarketingmcpmorning-briefingpr-automationshopifyterminal
chore: remove SDK/npm publish, add growth backlog to roadmap
auroracapital08f04153f388
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex ab99d6a4..88186c03 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -139,54 +139,3 @@ jobs:--title "chore: bump version to ${VERSION}" \--body-file /tmp/bump-pr-body.md \|| echo "PR may already exist for $BRANCH — skipping create"-- # ─── 3. (Optional) Publish claude-ops-plugin to npm ─────────────────────────- # No-op when NPM_TOKEN isn't set — gates the whole job behind the secret.- # Token must be a granular token with "bypass 2FA" enabled and read+write- # access to all packages on the claude-ops-plugin npm account.- publish-sdk:- needs: create-release- runs-on: ubuntu-latest- if: ${{ !contains(github.ref_name, '-') }} # skip prereleases- steps:- - name: Check NPM_TOKEN availability- id: check- env:- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}- run: |- if [ -z "${NPM_TOKEN}" ]; then- echo "NPM_TOKEN not configured — skipping npm publish."- echo "publish=false" >> "$GITHUB_OUTPUT"- else- echo "publish=true" >> "$GITHUB_OUTPUT"- fi-- - uses: actions/checkout@v6- if: steps.check.outputs.publish == 'true'-- - uses: actions/setup-node@v4- if: steps.check.outputs.publish == 'true'- with:- node-version: '22'- registry-url: 'https://registry.npmjs.org'-- - name: Install + build SDK- if: steps.check.outputs.publish == 'true'- working-directory: sdk- run: |- npm ci 2>/dev/null || npm install- npm run build-- - name: Publish to npm (public scope)- if: steps.check.outputs.publish == 'true'- working-directory: sdk- env:- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}- run: |- PKG_NAME=$(node -p "require('./package.json').name")- PKG_VERSION=$(node -p "require('./package.json').version")- if npm view "${PKG_NAME}@${PKG_VERSION}" version >/dev/null 2>&1; then- echo "${PKG_NAME}@${PKG_VERSION} already on npm — skipping publish"- exit 0- fi- npm publish --access publicdiff --git a/.gitignore b/.gitignoreindex 7e53d987..ced15309 100644--- a/.gitignore+++ b/.gitignore@@ -5,4 +5,3 @@node_modules/*.log.worktrees/-sdk/dist/diff --git a/claude-ops/CHANGELOG.md b/claude-ops/CHANGELOG.mdindex cf200e8e..b56d42ca 100644--- a/claude-ops/CHANGELOG.md+++ b/claude-ops/CHANGELOG.md@@ -54,12 +54,11 @@ All notable changes to this project will be documented in this file.- **Fires-watcher daemon** — Push notification sinks (Telegram/Discord/ntfy/Pushover).- **`/ops:status` skill** — Lightweight integration health panel.- **Registry templates** — Starter templates for 4 common stacks (monorepo, Next.js SaaS, Python microservices, React Native).-- **CI release workflow** — Auto-opens PR for version bumps + optional npm publish.+- **CI release workflow** — Auto-opens PR for version bumps.### Fixed- **Daemon** — Services work out of the box on fresh install.-- **npm publish** — Updated to use `claude-ops-plugin` package name.---@@ -92,7 +91,6 @@ All notable changes to this project will be documented in this file.- **Cross-OS foundation** — `lib/os-detect.{sh,mjs}`, `lib/credential-store.{sh,mjs}`, `lib/opener.{sh,mjs}` for macOS/Linux/WSL/Windows portability.- **Cross-OS CI matrix** — GitHub Actions workflow tests on ubuntu-latest, macos-latest, windows-latest.- **Gitleaks coverage** — Custom rules for all 22 integrated services (Shopify, RevenueCat, Sentry, Doppler, Linear, Klaviyo, ElevenLabs, Bland AI, Cloudflare).-- **SDK** — `sdk/` directory with TypeScript types, validators, helpers, and `create-ops-skill` scaffolding CLI.### Changeddiff --git a/sdk/README.md b/sdk/README.mddeleted file mode 100644index f12e8300..00000000--- a/sdk/README.md+++ /dev/null@@ -1,210 +0,0 @@-# @claude-ops/sdk--SDK and scaffolder for building [claude-ops](https://github.com/Lifecycle-Innovations-Limited/claude-ops) skills and agents.--## Overview--The `@claude-ops/sdk` package provides:--- **TypeScript types** — `SkillManifest`, `AgentManifest`, `PluginManifest`, `HooksConfig` interfaces for type-safe skill authoring-- **Runtime validators** — `isValidSkillManifest`, `isValidAgentManifest` for runtime validation-- **Helpers** — `parseSkillFrontmatter`, `serializeSkillFrontmatter` utilities-- **CLI scaffolder** — `create-ops-skill` generates a new skill or agent from templates--## Installation--**For types only** (in your skill's TypeScript project):--```bash-npm install @claude-ops/sdk-```--**For scaffolding** (no install needed):--```bash-npx create-ops-skill my-skill-npx create-ops-skill my-skill --agent-```--## Quick Start--```bash-# 1. Scaffold a new skill-npx create-ops-skill my-skill--# 2. Edit the generated SKILL.md-open skills/my-skill/SKILL.md--# 3. Register in the ops router-# Add routing in skills/ops/SKILL.md--# 4. Run the lint test-bash tests/test-skills-lint.sh-```--## `create-ops-skill` CLI--```-create-ops-skill — Scaffold a new claude-ops skill--Usage:- npx create-ops-skill <skill-name> [options]--Options:- --agent, -a Also create an agent .md file for this skill- --help, -h Show this help--Examples:- npx create-ops-skill my-skill- npx create-ops-skill my-skill --agent-```--- Skill name is lowercased and sanitized (`[^a-z0-9-]` → `-`)-- Creates `skills/<name>/SKILL.md` from the built-in template-- With `--agent`: also creates `agents/<name>-agent.md`-- Fails with an error if `skills/<name>/` already exists--## Type Reference--### `SkillManifest`--Frontmatter schema for `SKILL.md` files:--```typescript-interface SkillManifest {- name: string; // Skill name → slash command routing- description: string; // Shown in /help and marketplace- 'argument-hint'?: string; // e.g., "[--watch] [--setup]"- 'allowed-tools': ToolName[]; // Claude Code tools this skill may use- effort?: EffortLevel; // 'low' | 'medium' | 'high'- maxTurns?: number; // Max agentic turns before auto-exit- model?: string; // Model override (inherits from settings if omitted)- memory?: MemoryScope; // 'project' | 'global' | 'none'- disallowedTools?: ToolName[]; // Tools explicitly blocked- isolation?: IsolationMode; // 'worktree' | 'none'-}-```--### `AgentManifest`--Frontmatter schema for agent `.md` files in `agents/`:--```typescript-interface AgentManifest {- name: string; // Agent name — referenced by Agent tool calls- description: string; // What the agent does- model?: string; // Defaults to claude-sonnet-4-6- effort?: EffortLevel;- maxTurns?: number;- tools?: ToolName[];- disallowedTools?: ToolName[];- memory?: MemoryScope;- initialPrompt?: string; // Injected as first user message-}-```--### `PluginManifest`--Schema for `.claude-plugin/plugin.json`:--```typescript-interface PluginManifest {- name: string;- version: string;- description: string;- author: { name: string; url?: string };- homepage?: string;- repository?: string;- license?: string;- keywords?: string[];- userConfig?: Record<string, UserConfigField>;-}-```--### `HooksConfig`--Schema for hooks configuration in Claude Code settings:--```typescript-interface HooksConfig {- PreToolUse?: HookEntry[];- PostToolUse?: HookEntry[];- UserPromptSubmit?: HookEntry[];- Stop?: HookEntry[];-}--interface HookEntry {- matcher?: string;- hooks: Array<{- type: 'command';- command: string;- timeout?: number;- }>;-}-```--## Helper Functions--### `parseSkillFrontmatter(content: string)`--Parses YAML frontmatter from a `SKILL.md` string. Does not require a YAML library — uses a minimal parser sufficient for the flat frontmatter schema used in claude-ops.--```typescript-import { parseSkillFrontmatter } from '@claude-ops/sdk';--const content = `----name: my-skill-description: Does something.-allowed-tools: [Bash, Read]------# My Skill body here.-`;--const { frontmatter, body } = parseSkillFrontmatter(content);-// frontmatter: { name: 'my-skill', description: 'Does something.', 'allowed-tools': ['Bash', 'Read'] }-// body: '# My Skill body here.'-```--### `isValidSkillManifest(obj: unknown): obj is SkillManifest`--Runtime validator — checks that an object has the required fields for a valid skill manifest.--```typescript-import { parseSkillFrontmatter, isValidSkillManifest } from '@claude-ops/sdk';--const { frontmatter } = parseSkillFrontmatter(content);-if (!isValidSkillManifest(frontmatter)) {- throw new Error('Invalid SKILL.md: missing name, description, or allowed-tools');-}-// frontmatter is now typed as SkillManifest-```--### `isValidAgentManifest(obj: unknown): obj is AgentManifest`--Same for agent manifests — checks for `name` and `description` fields.--## Plugin Rules Summary--All claude-ops skills must follow these rules (enforced by `CLAUDE.md`):--| Rule | Requirement |-|------|-------------|-| **Rule 0** | Public repo — no real credentials, names, or URLs in committed files |-| **Rule 1** | Max 4 options per `AskUserQuestion` call (schema hard limit) |-| **Rule 2** | Never delegate CLI commands to the user — run via Bash tool instead |-| **Rule 3** | Never auto-skip setup steps — always offer `[Skip]` explicitly |-| **Rule 4** | Background-by-default during setup flows (`run_in_background: true`) |-| **Rule 5** | Destructive actions require per-action confirmation via `AskUserQuestion` |--## Contributing--1. Fork `Lifecycle-Innovations-Limited/claude-ops`-2. Create a feature branch: `git checkout -b feat/my-skill`-3. Scaffold your skill: `npx create-ops-skill my-skill`-4. Add logic, run `bash tests/test-skills-lint.sh`-5. Open a PR to `main`--## License--MIT © Lifecycle Innovations Limiteddiff --git a/sdk/bin/create-ops-skill.mjs b/sdk/bin/create-ops-skill.mjsdeleted file mode 100755index 8c7162f3..00000000--- a/sdk/bin/create-ops-skill.mjs+++ /dev/null@@ -1,84 +0,0 @@-#!/usr/bin/env node-import { parseArgs } from 'node:util';-import { mkdirSync, writeFileSync, readFileSync, existsSync } from 'node:fs';-import { fileURLToPath } from 'node:url';-import { join, dirname } from 'node:path';--const __dirname = dirname(fileURLToPath(import.meta.url));--const { values, positionals } = parseArgs({- args: process.argv.slice(2),- options: {- agent: { type: 'boolean', short: 'a', default: false },- help: { type: 'boolean', short: 'h', default: false },- },- allowPositionals: true,-});--if (values.help || positionals.length === 0) {- console.log(`-create-ops-skill — Scaffold a new claude-ops skill--Usage:- npx create-ops-skill <skill-name> [options]--Options:- --agent, -a Also create an agent .md file for this skill- --help, -h Show this help--Examples:- npx create-ops-skill my-skill- npx create-ops-skill my-skill --agent-`);- process.exit(0);-}--const skillName = positionals[0].toLowerCase().replace(/[^a-z0-9-]/g, '-');-const skillDir = join(process.cwd(), 'skills', skillName);-const agentsDir = join(process.cwd(), 'agents');--// Read templates-const skillTemplate = readFileSync(- join(__dirname, '../templates/skill/SKILL.md.template'),- 'utf8',-);-const agentTemplate = values.agent- ? readFileSync(join(__dirname, '../templates/agent/AGENT.md.template'), 'utf8')- : null;--// Interpolate-function interpolate(template, vars) {- return Object.entries(vars).reduce(- (t, [k, v]) => t.replaceAll(`{{${k}}}`, v),- template,- );-}--const skillContent = interpolate(skillTemplate, { SKILL_NAME: skillName });-const agentContent = agentTemplate- ? interpolate(agentTemplate, { SKILL_NAME: skillName })- : null;--// Write skill-if (existsSync(skillDir)) {- console.error(`Error: skills/${skillName}/ already exists`);- process.exit(1);-}-mkdirSync(skillDir, { recursive: true });-writeFileSync(join(skillDir, 'SKILL.md'), skillContent);-console.log(`✅ Created skills/${skillName}/SKILL.md`);--// Write agent-if (agentContent) {- if (!existsSync(agentsDir)) mkdirSync(agentsDir, { recursive: true });- const agentFile = join(agentsDir, `${skillName}-agent.md`);- writeFileSync(agentFile, agentContent);- console.log(`✅ Created agents/${skillName}-agent.md`);-}--console.log(`-Next steps:- 1. Edit skills/${skillName}/SKILL.md — add your skill logic- 2. Register the skill in skills/ops/SKILL.md router- 3. Run: bash tests/test-skills-lint.sh-`);diff --git a/sdk/package.json b/sdk/package.jsondeleted file mode 100644index e7cbf801..00000000--- a/sdk/package.json+++ /dev/null@@ -1,27 +0,0 @@-{- "name": "claude-ops-plugin",- "version": "1.0.0",- "description": "SDK and scaffolder for building claude-ops skills and agents",- "type": "module",- "main": "dist/index.js",- "types": "dist/index.d.ts",- "bin": {- "create-ops-skill": "./bin/create-ops-skill.mjs"- },- "scripts": {- "build": "tsc",- "typecheck": "tsc --noEmit",- "prepublishOnly": "npm run build"- },- "keywords": ["claude-code", "claude-ops", "plugin", "skill", "agent"],- "repository": {- "type": "git",- "url": "https://github.com/Lifecycle-Innovations-Limited/claude-ops.git",- "directory": "sdk"- },- "license": "MIT",- "engines": { "node": ">=18.0.0" },- "devDependencies": {- "typescript": "^5.0.0"- }-}diff --git a/sdk/src/helpers.ts b/sdk/src/helpers.tsdeleted file mode 100644index 6e79cce0..00000000--- a/sdk/src/helpers.ts+++ /dev/null@@ -1,55 +0,0 @@-/**- * Parses YAML frontmatter from a SKILL.md or agent .md string.- * Returns the frontmatter as a plain object and the body as a string.- * Does NOT require a yaml library — uses a minimal key:value parser- * sufficient for the flat frontmatter schema used in claude-ops.- */-export function parseSkillFrontmatter(content: string): {- frontmatter: Record<string, unknown>;- body: string;-} {- const match = content.match(/^---\n([\s\S]*?)\n---\n([\s\S]*)$/);- if (!match) return { frontmatter: {}, body: content };-- const [, yaml, body] = match;- const frontmatter: Record<string, unknown> = {};-- for (const line of yaml.split('\n')) {- const colonIdx = line.indexOf(':');- if (colonIdx === -1) continue;- const key = line.slice(0, colonIdx).trim();- const raw = line.slice(colonIdx + 1).trim();- // Parse arrays: [a, b, c]- if (raw.startsWith('[') && raw.endsWith(']')) {- frontmatter[key] = raw- .slice(1, -1)- .split(',')- .map((s) => s.trim().replace(/^["']|["']$/g, ''))- .filter(Boolean);- } else if (raw === 'true') {- frontmatter[key] = true;- } else if (raw === 'false') {- frontmatter[key] = false;- } else if (!isNaN(Number(raw)) && raw !== '') {- frontmatter[key] = Number(raw);- } else {- frontmatter[key] = raw.replace(/^["']|["']$/g, '');- }- }-- return { frontmatter, body: body.trim() };-}--/** Serializes a frontmatter object back to YAML frontmatter string */-export function serializeSkillFrontmatter(fm: Record<string, unknown>, body: string): string {- const lines: string[] = ['---'];- for (const [k, v] of Object.entries(fm)) {- if (Array.isArray(v)) {- lines.push(`${k}: [${v.map(String).join(', ')}]`);- } else {- lines.push(`${k}: ${String(v)}`);- }- }- lines.push('---', '', body);- return lines.join('\n');-}diff --git a/sdk/src/index.ts b/sdk/src/index.tsdeleted file mode 100644index 72b548c7..00000000--- a/sdk/src/index.ts+++ /dev/null@@ -1,3 +0,0 @@-export * from './types.js';-export * from './validators.js';-export * from './helpers.js';diff --git a/sdk/src/types.ts b/sdk/src/types.tsdeleted file mode 100644index 3b6b1362..00000000--- a/sdk/src/types.ts+++ /dev/null@@ -1,121 +0,0 @@-/** Effort levels for skills and agents */-export type EffortLevel = 'low' | 'medium' | 'high';--/** Tool names allowed in skill/agent tool lists */-export type ToolName =- | 'Bash' | 'Read' | 'Write' | 'Edit' | 'Grep' | 'Glob'- | 'Skill' | 'Agent' | 'AskUserQuestion' | 'WebSearch' | 'WebFetch'- | 'TodoRead' | 'TodoWrite' | 'NotebookRead' | 'NotebookEdit'- | 'TaskCreate' | 'TaskUpdate' | 'TaskList' | 'TaskGet'- | 'TeamCreate' | 'SendMessage' | 'Monitor'- | (string & {}); // allow MCP tool names like "mcp__linear__..."--/** Memory scope for agents */-export type MemoryScope = 'project' | 'global' | 'none';--/** Isolation mode for agents */-export type IsolationMode = 'worktree' | 'none';--/**- * Frontmatter schema for SKILL.md files.- * All fields correspond to Claude Code plugin skill manifest specification.- */-export interface SkillManifest {- /** Skill name — used in slash command routing (e.g., "ops-monitor" → /ops:ops-monitor) */- name: string;- /** One-sentence description shown in /help and marketplace */- description: string;- /** Hint shown after the slash command (e.g., "[--watch] [--setup]") */- 'argument-hint'?: string;- /** Tools this skill is allowed to use. Max: all Claude Code tools + MCP tools. */- 'allowed-tools': ToolName[];- /** Effort level — controls default maxTurns if maxTurns not set */- effort?: EffortLevel;- /** Maximum number of agentic turns before the skill auto-exits */- maxTurns?: number;- /** Model override — if omitted, inherits from user's Claude Code settings */- model?: string;- /** Memory scope — 'project' reads/writes project memory, 'global' reads global memory */- memory?: MemoryScope;- /** Tools explicitly disallowed (overrides allowed-tools) */- disallowedTools?: ToolName[];- /** Isolation mode — 'worktree' creates an isolated git worktree for execution */- isolation?: IsolationMode;-}--/**- * Frontmatter schema for agent .md files in agents/.- */-export interface AgentManifest {- /** Agent name — referenced by Agent tool calls in skills */- name: string;- /** One-sentence description of what the agent does */- description: string;- /** Model to use — defaults to claude-sonnet-4-6 if not set */- model?: string;- /** Effort level */- effort?: EffortLevel;- /** Maximum agentic turns */- maxTurns?: number;- /** Tools this agent can use */- tools?: ToolName[];- /** Tools explicitly blocked */- disallowedTools?: ToolName[];- /** Memory scope */- memory?: MemoryScope;- /** Injected as the first user message before the agent body */- initialPrompt?: string;-}--/** A single userConfig field definition in plugin.json */-export interface UserConfigField {- title: string;- description: string;- type: 'string' | 'boolean' | 'number';- sensitive: boolean;- default: string | boolean | number;-}--/**- * Schema for .claude-plugin/plugin.json- */-export interface PluginManifest {- name: string;- version: string;- description: string;- author: { name: string; url?: string };- homepage?: string;- repository?: string;- license?: string;- keywords?: string[];- userConfig?: Record<string, UserConfigField>;-}--/**- * Schema for .claude/hooks.json or settings.json hooks section- */-export interface HooksConfig {- PreToolUse?: HookEntry[];- PostToolUse?: HookEntry[];- UserPromptSubmit?: HookEntry[];- Stop?: HookEntry[];-}--export interface HookEntry {- matcher?: string;- hooks: Array<{- type: 'command';- command: string;- timeout?: number;- }>;-}--/** Marketplace entry for .claude-plugin/marketplace.json */-export interface MarketplaceEntry {- name: string;- description: string;- source: string;- version: string;- category: string;- screenshots?: string[];-}diff --git a/sdk/src/validators.ts b/sdk/src/validators.tsdeleted file mode 100644index 3279a0d7..00000000--- a/sdk/src/validators.ts+++ /dev/null@@ -1,19 +0,0 @@-import type { SkillManifest, AgentManifest } from './types.js';--/** Returns true if the manifest has required fields for a valid SKILL.md */-export function isValidSkillManifest(obj: unknown): obj is SkillManifest {- if (typeof obj !== 'object' || obj === null) return false;- const m = obj as Record<string, unknown>;- return (- typeof m.name === 'string' &&- typeof m.description === 'string' &&- Array.isArray(m['allowed-tools'])- );-}--/** Returns true if the manifest has required fields for a valid agent .md */-export function isValidAgentManifest(obj: unknown): obj is AgentManifest {- if (typeof obj !== 'object' || obj === null) return false;- const m = obj as Record<string, unknown>;- return typeof m.name === 'string' && typeof m.description === 'string';-}diff --git a/sdk/templates/agent/AGENT.md.template b/sdk/templates/agent/AGENT.md.templatedeleted file mode 100644index 3cf6a56c..00000000--- a/sdk/templates/agent/AGENT.md.template+++ /dev/null@@ -1,31 +0,0 @@-----name: {{SKILL_NAME}}-agent-description: Agent for the {{SKILL_NAME}} skill. Describe what this agent does.-model: claude-sonnet-4-6-effort: medium-maxTurns: 25-tools:- - Bash- - Read-disallowedTools:- - Write- - Edit- - Agent-memory: project-initialPrompt: "Perform the {{SKILL_NAME}} analysis and return structured JSON results."------# {{SKILL_NAME}} AGENT--Describe what this agent does. Keep it read-only where possible.--## Preflight--```bash-PREFS="${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json"-# Load required credentials-```--## Output--Return JSON. Do not print any other text.diff --git a/sdk/templates/skill/SKILL.md.template b/sdk/templates/skill/SKILL.md.templatedeleted file mode 100644index 02bb3083..00000000--- a/sdk/templates/skill/SKILL.md.template+++ /dev/null@@ -1,30 +0,0 @@-----name: {{SKILL_NAME}}-description: One-sentence description of what this skill does.-argument-hint: "[args]"-allowed-tools:- - Bash- - Read- - AskUserQuestion-effort: medium-maxTurns: 20------## Runtime Context--Before executing, load:-1. **Preferences**: `cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json`--# OPS ► {{SKILL_NAME}}--What does this skill do? Add your overview here.--## CLI/API Reference--| Command | Purpose |-|---------|---------|-| `example-command` | Does something useful |--## Your task--Describe the task this skill performs.diff --git a/sdk/tsconfig.json b/sdk/tsconfig.jsondeleted file mode 100644index ea98fb60..00000000--- a/sdk/tsconfig.json+++ /dev/null@@ -1,14 +0,0 @@-{- "compilerOptions": {- "target": "ES2020",- "module": "NodeNext",- "moduleResolution": "NodeNext",- "declaration": true,- "outDir": "dist",- "rootDir": "src",- "strict": true,- "skipLibCheck": true- },- "include": ["src/**/*"],- "exclude": ["node_modules", "dist"]-}