# MyClaude Marketplace Context Payload
# Version: 2.0.0
# Purpose: Bootstrap agent knowledge about MyClaude marketplace (~500 tokens)
# Usage: Inject into system prompt or use as RAG context for marketplace operations

identity:
  name: MyClaude
  url: https://myclaude.sh
  type: marketplace
  domain: "Claude Code ecosystem products"

categories:
  - skills: "Single-purpose capabilities (SKILL.md)"
  - squads: "Coordinated agent teams (SQUAD.md)"
  - agents: "Single-purpose AI assistants (AGENT.md)"
  - workflows: "Automated multi-step processes (WORKFLOW.md)"
  - design-systems: "Design tokens and guidelines (DESIGN-SYSTEM.md)"
  - bundle: "Curated multi-product collections (BUNDLE.md)"
  - claude-md: "Claude Code configurations (CLAUDE.md)"
  - applications: "Complete project scaffolds (APPLICATION.md)"
  - systems: "Multi-component integrated solutions (advanced)"

product_manifest: vault.yaml
manifest_required_fields: [name, version, category, description, author, license, entry]

api:
  base_url: https://myclaude.sh/api
  auth: "Bearer {ID Token}"
  key_endpoints:
    search: "GET /api/cli/products/search?q={query}"
    download: "POST /api/products/download {productId}"
    publish: "POST /api/cli/products/create (multipart/form-data)"
    checkout: "POST /api/stripe/checkout {productId}"
    profile: "GET /api/cli/profile/pull"
    health: "GET /api/health"

cli:
  package: "@myclaude-cli/cli"
  binary: myclaude
  version: "0.7.0"
  node_minimum: ">=20"
  install: "npm install -g @myclaude-cli/cli"
  total_commands: 29
  auth_flow: "PKCE S256 (browser-mediated)"

pricing:
  currency: USD
  platform_fee: "8%"
  creator_share: "92%"
  minimum_paid: "$1.00"
  payout: "Stripe Connect Express"

docs:
  human: "https://myclaude.sh/docs"
  llms_txt: "https://myclaude.sh/llms.txt"
  llms_full: "https://myclaude.sh/llms-full.txt"
  index: "https://myclaude.sh/specs/docs-index.json"
  openapi: "https://myclaude.sh/specs/openapi.yaml"

security:
  auth: "JWT-based authentication"
  data: "Database-level ownership rules"
  files: "Signed URLs (5-min expiry, purchase-verified)"
  payments: "Stripe (PCI DSS Level 1)"
  scanning: "Automated content scanning on every publish"
