Tool Reference

system

System utilities including data management, system guide, Claude Code plugin setup, bug reporting, and skill/tool sharing.

Aliases

Old tool names data, stats, get_system_guide, setup_claude_code, report_bug, and share still work as aliases.


Data Management

export

Export all memories and skills as JSON.

Parameters

NameTypeRequiredDescription
actionstringYes"export"

Example request

{
  "name": "system",
  "arguments": {
    "action": "export"
  }
}

Example response

{
  "exported_at": "2026-03-14T10:30:00.000Z",
  "memories": [
    {
      "id": "mem_x8k2p",
      "observation": "Weekly reports go to [email protected] every Friday",
      "context": { "domain": "client-reporting", "task_type": "process", "outcome": "success" },
      "tags": ["reporting", "client"]
    }
  ],
  "skills": [
    {
      "id": "skill_r3n7",
      "name": "Weekly Client Report",
      "status": "active",
      "domain": ["client-reporting"]
    }
  ]
}

import

Import memories and skills from a previous export.

Parameters

NameTypeRequiredDescription
actionstringYes"import"
memoriesarrayNoArray of memory objects to import
skillsarrayNoArray of skill objects to import
overwritebooleanNoOverwrite existing items with same ID. Default: false

Example request

{
  "name": "system",
  "arguments": {
    "action": "import",
    "memories": [
      {
        "observation": "Team standup is every Tuesday at 9am",
        "context": { "domain": "team-processes", "task_type": "process", "outcome": "success" },
        "tags": ["meetings"]
      }
    ],
    "overwrite": false
  }
}

Example response

{
  "memories_imported": 1,
  "memories_skipped": 0,
  "skills_imported": 0,
  "skills_skipped": 0
}

stats

View usage statistics for your account.

Parameters

NameTypeRequiredDescription
actionstringYes"stats"

Example request

{
  "name": "system",
  "arguments": {
    "action": "stats"
  }
}

Example response

{
  "memories": { "total": 47, "by_domain": { "client-reporting": 12, "team-processes": 8, "personal": 27 } },
  "skills": { "total": 5, "active": 3, "draft": 1, "deprecated": 1 },
  "custom_tools": { "total": 2 },
  "remote_servers": { "total": 1 }
}

System Info

guide

Get the full system guide with tool reference and usage patterns.

Parameters

NameTypeRequiredDescription
actionstringYes"guide"

Example request

{
  "name": "system",
  "arguments": {
    "action": "guide"
  }
}

Example response

{
  "guide": {
    "tools": [
      { "name": "memory", "actions": ["learn", "recall", "forget", "correct"] },
      { "name": "session", "actions": ["start", "apply", "reflect"] }
    ],
    "workflows": { "session_based": "...", "direct_memory": "..." },
    "code_tools_guide": {
      "handler_format": "export default { async fetch(request) { ... } }",
      "db_usage": "import { query, exec, batch } from './db.mjs'"
    }
  }
}

setup

Manage the Claude Code plugin installation and generate CLI tokens.

Parameters

NameTypeRequiredDescription
actionstringYes"setup"
setup_actionstringYesSub-action: "check", "install", "configure", "test", or "token"
expires_in_daysnumberNoToken expiry in days (for "token" sub-action)

Example request (generate token)

{
  "name": "system",
  "arguments": {
    "action": "setup",
    "setup_action": "token",
    "expires_in_days": 30
  }
}

Example response (generate token)

{
  "token": "kyew_tk_...",
  "expires_at": "2026-04-13T10:30:00.000Z",
  "usage": "Set KYEW_API_KEY=kyew_tk_... in your environment or Claude Code config"
}

Example request (check status)

{
  "name": "system",
  "arguments": {
    "action": "setup",
    "setup_action": "check"
  }
}

Example response (check status)

{
  "plugin": { "name": "kyew", "version": "0.1.0", "repo": "https://github.com/kyew/claude-code-plugin" },
  "status": "Use Claude Code CLI to check",
  "check_commands": ["claude /plugin list", "ls -la ~/.claude/plugins/kyew"]
}

Feedback

feedback

Report a bug or issue.

Parameters

NameTypeRequiredDescription
actionstringYes"feedback"
titlestringYesShort title for the report
descriptionstringYesDetailed description of the issue
severitystringNo"low", "medium", "high", or "critical"
categorystringNoCategory (e.g., "memory", "tools", "auth")
tool_namestringNoName of the tool where the issue occurred
error_messagestringNoError message if applicable
expected_behaviorstringNoWhat should have happened
actual_behaviorstringNoWhat actually happened
steps_to_reproducearray of stringsNoSteps to reproduce the issue
related_memory_idsarray of stringsNoIDs of related memories
related_skill_idsarray of stringsNoIDs of related skills
related_tool_idsarray of stringsNoIDs of related tools
tagsarray of stringsNoTags for categorization

Example request

{
  "name": "system",
  "arguments": {
    "action": "feedback",
    "title": "Memory recall returns empty for known domain",
    "description": "Searching for memories in the 'client-reporting' domain returns 0 results even though I saved 5 memories there today.",
    "severity": "high",
    "category": "memory",
    "tool_name": "memory",
    "expected_behavior": "Should return the 5 memories saved earlier",
    "actual_behavior": "Returns empty array",
    "steps_to_reproduce": [
      "Save a memory with domain 'client-reporting'",
      "Recall memories with query 'client reporting'"
    ]
  }
}

Example response

{
  "success": true,
  "bug_report_id": "bug_p9v2x",
  "severity": "high",
  "message": "Bug report submitted."
}

Sharing

share

Share a skill or tool with another user by email or user ID.

Parameters

NameTypeRequiredDescription
actionstringYes"share"
skill_idstringNo*ID of the skill to share
tool_idstringNo*ID of the tool to share
shared_withstringYesEmail address or user ID of the recipient
setup_instructionsstringNoInstructions for the recipient

*Provide either skill_id or tool_id.

Example request

{
  "name": "system",
  "arguments": {
    "action": "share",
    "skill_id": "skill_r3n7",
    "shared_with": "[email protected]",
    "setup_instructions": "This skill formats our weekly client reports. Make sure you have access to the Linear dashboard first."
  }
}

Example response

{
  "success": true,
  "share_id": "shr_w5t8k",
  "status": "pending",
  "shared_with": "[email protected]",
  "message": "Invite sent to [email protected]. They will see it when they log in."
}

list_shares

List shares you've sent or received.

Parameters

NameTypeRequiredDescription
actionstringYes"list_shares"
directionstringNo"shared_by_me" or "shared_with_me". Default: "shared_with_me"
statusstringNoFilter by status: "pending", "accepted", "declined", "revoked"

Example request

{
  "name": "system",
  "arguments": {
    "action": "list_shares",
    "direction": "shared_by_me",
    "status": "pending"
  }
}

Example response

{
  "shares": [
    {
      "share_id": "shr_w5t8k",
      "item_type": "skill",
      "item_id": "skill_r3n7",
      "shared_with_email": "[email protected]",
      "shared_with_user_id": null,
      "status": "pending",
      "setup_instructions": "This skill formats our weekly client reports.",
      "created_at": "2026-03-14T10:30:00.000Z"
    }
  ],
  "count": 1
}

accept_share

Accept a pending share.

Parameters

NameTypeRequiredDescription
actionstringYes"accept_share"
share_idstringYesID of the share to accept

Example request

{
  "name": "system",
  "arguments": {
    "action": "accept_share",
    "share_id": "shr_w5t8k"
  }
}

Example response

{
  "success": true,
  "share_id": "shr_w5t8k",
  "status": "accepted",
  "message": "Share accepted. The skill now appears in your list_skills output."
}

decline_share

Decline a pending share.

Parameters

NameTypeRequiredDescription
actionstringYes"decline_share"
share_idstringYesID of the share to decline

Example request

{
  "name": "system",
  "arguments": {
    "action": "decline_share",
    "share_id": "shr_w5t8k"
  }
}

Example response

{
  "success": true,
  "share_id": "shr_w5t8k",
  "status": "declined",
  "message": "Share declined."
}

revoke_share

Revoke a share you previously sent. The recipient will no longer have access.

Parameters

NameTypeRequiredDescription
actionstringYes"revoke_share"
share_idstringYesID of the share to revoke

Example request

{
  "name": "system",
  "arguments": {
    "action": "revoke_share",
    "share_id": "shr_w5t8k"
  }
}

Example response

{
  "success": true,
  "share_id": "shr_w5t8k",
  "status": "revoked",
  "message": "Share revoked. The recipient can no longer see this skill."
}
Previous
changes
Next
kyew