{
  "markdown": "# Agent Case Share Skill\n\nReusable AI-agent skills for searching, reading saved and personal Agent Case Share content, publishing, and editing cases, case videos, case attachments, and reusable assets through MCP.\n\n## Install\n\n### Codex\n\nAdd this repository as a marketplace:\n\n```bash\ncodex plugin marketplace add parkerluxu/agent-case-share-skills\n```\n\nThen install `agent-case-share-skills` from the Codex plugins UI.\n\nOr copy the skill directly:\n\n```bash\ncp -R plugins/agent-case-share-skills/skills/publish-agent-case-share ~/.codex/skills/\ncp -R plugins/agent-case-share-skills/skills/search-agent-case-share ~/.codex/skills/\ncp -R plugins/agent-case-share-skills/skills/search-agent-case-share-personal ~/.codex/skills/\ncp -R plugins/agent-case-share-skills/skills/agent-case-share-personal-retrieval ~/.codex/skills/\ncp -R plugins/agent-case-share-skills/skills/configure-agent-case-share ~/.codex/skills/\n```\n\n### Claude Code\n\nAdd this repository as a marketplace:\n\n```bash\n/plugin marketplace add parkerluxu/agent-case-share-skills\n/plugin install agent-case-share-skills@agent-case-share\n```\n\nOr copy the skill directly:\n\n```bash\nmkdir -p ~/.claude/skills\ncp -R plugins/agent-case-share-skills/skills/publish-agent-case-share ~/.claude/skills/\ncp -R plugins/agent-case-share-skills/skills/search-agent-case-share ~/.claude/skills/\ncp -R plugins/agent-case-share-skills/skills/search-agent-case-share-personal ~/.claude/skills/\ncp -R plugins/agent-case-share-skills/skills/agent-case-share-personal-retrieval ~/.claude/skills/\ncp -R plugins/agent-case-share-skills/skills/configure-agent-case-share ~/.claude/skills/\n```\n\n### Gemini CLI\n\nInstall or link the repository as a Gemini CLI extension:\n\n```bash\ngemini extensions install https://github.com/parkerluxu/agent-case-share-skills.git\n```\n\nFor local development:\n\n```bash\ngemini extensions link .\n```\n\n## Desktop Setup\n\nConnected MCP read tools work without a key for published content.\n\nCreate a personal key from your Agent Case Share profile when publishing content, reading hidden/draft content, or using personal retrieval. Then ask your agent to use `$configure-agent-case-share`. It guides you to run its local setup command and stores credentials outside the workspace:\n\n- Windows: `%APPDATA%\\\\agent-case-share\\\\config.json`\n- macOS: `~/Library/Application Support/agent-case-share/config.json`\n- Linux: `$XDG_CONFIG_HOME/agent-case-share/config.json` or `~/.config/agent-case-share/config.json`\n\nFrom a clone of this repository, the command is:\n\n```bash\nnode plugins/agent-case-share-skills/skills/configure-agent-case-share/scripts/configure.mjs\n```\n\nIt hides the key while typing. Verify the setup without exposing credentials:\n\n```bash\nnode plugins/agent-case-share-skills/skills/configure-agent-case-share/scripts/configure.mjs --status\n```\n\n## MCP Setup\n\nThe production Agent Case Share MCP server is a protected Streamable HTTP endpoint at `https://mcp.agentcaseshare.cn/mcp`. Ordinary users do not need the Agent Case Share source repository. Run `configure-agent-case-share` once. On Windows, when a Codex configuration is detected, the command saves the key outside the workspace, stores a user-scoped bearer environment variable, and registers this equivalent configuration automatically:\n\n```toml\n[mcp_servers.agent-case-share]\nurl = \"https://mcp.agentcaseshare.cn/mcp\"\nbearer_token_env_var = \"AGENT_CASE_SHARE_API_KEY\"\n```\n\nThe key is not placed in `config.toml`, JSON MCP configuration, command-line arguments, or tool arguments. The registration is idempotent and leaves unrelated MCP servers unchanged. Restart Codex after setup so it inherits the new user environment variable and reloads the server.\n\nFor another MCP client, register the same URL using that client's environment-backed bearer-token setting. Do not put the literal personal key in a JSON configuration file. If the client only supports OAuth for remote MCP, use its OAuth flow instead of copying the key into headers.\n\nThe Skills require a connected Agent Case Share MCP server and call its read/write tools directly. They do not fall back to JSON API requests when MCP is disconnected or a tool is unavailable; they report the connection or capability issue instead. Never paste a personal API Key into chat or pass it as an MCP tool argument.\n\n## CLI and CI Compatibility\n\nDesktop configuration takes precedence. Environment variables remain supported for CLI, CI, and Gemini extension settings:\n\nUse these environment variables in your shell or agent runtime:\n\n```bash\nAGENT_CASE_SHARE_API_KEY=acsp_live_replace_me\n```\n\nThe setup command saves `https://agentcaseshare.cn/` as the API base URL and configures the remote MCP URL separately. Use the hosted remote MCP by default. The local stdio server is available for local development. Set optional `AGENT_CASE_SHARE_BASE_URL` only for CLI or CI runs targeting a different Agent Case Share deployment.\n\nDo not commit real API keys.\n\n## Usage\n\nAsk your agent to use `$search-agent-case-share` to search categories, tags, cases, articles, news, projects, papers, or Markdown article content, read case videos and attachments from case details, download assets or attachments, or export a case as a ZIP package. File downloads and case exports require the user to be signed in.\n\nAsk your agent to use `$search-agent-case-share-personal` to list saved cases, articles, reusable assets, open-source projects, or papers, search your own cases and reusable assets, read videos and attachments from one of your case details, download personal files, or export a case ZIP through MCP. Downloads and exports require the user to be signed in. The MCP currently reads saved items only; use the website to save or remove a favorite.\n\nAsk your agent to use `$configure-agent-case-share` to configure, verify, update, or clear local Agent Case Share credentials.\n\nUse `$agent-case-share-personal-retrieval` when the current task would benefit from your prior saved items, cases, case videos, case attachments, or reusable assets. The Agent may proactively retrieve relevant personal context for substantive tasks; explicit invocation or a direct request to search/reuse the library or saved items always triggers retrieval.\n\nAsk your agent to use `$publish-agent-case-share` to publish or update a case, external case video, article, tutorial, Markdown image, case attachment, reusable asset, or user-editable attachment/asset metadata. Cases can include structured runtime/model configuration, tool/MCP/plugin/Skill entries, Prompt metadata and visibility, plus reproduction and verification details. Write each point in case `workflow` and `reproduction.steps` on its own line so the platform can recognize individual steps. Existing-case videos and attachments use dedicated atomic MCP tools.\n\nThe skill defaults AI-created tasks to hidden and articles to draft unless you explicitly ask for public publishing.\n\n## Release Mirror\n\nPublishing a GitHub release automatically uploads `agent-case-share-skills.zip` to the public Qiniu bucket `agent-case-share-images`:\n\n- `plugins/agent-case-share-skills/latest/agent-case-share-skills.zip`\n- `plugins/agent-case-share-skills/<tag>/agent-case-share-skills.zip`\n\nRequired GitHub repository secrets:\n\n- `QINIU_ACCESS_KEY`\n- `QINIU_SECRET_KEY`\n",
  "bytes": 7283,
  "sha": "c5b5c2532ec911f07390dad3106e104d55ebd36052f97bb873078ef30cf0cdce",
  "repo_slug": "parkerluxu/agent-case-share-skills",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/plg_parkerluxu_agent_case_share_skills_b18143df/readme"
}