Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计异常

ctx-cloud-setupctx 云设置

Agent Skill

ctx-cloud-setup 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

569

周安装

23

GitHub Stars

11,284

下载量

178
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ctx-cloud-setup(ctx 云设置)
来源仓库:https://github.com/mksglu/context-mode
仓库路径:skills/ctx-cloud-setup
安装命令:
npx skills add https://github.com/mksglu/context-mode --skill ctx-cloud-setup
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mksglu/context-mode --skill ctx-cloud-setup

简介

ctx-cloud-setup 用于配置云端上下文环境参数。

  • 适用于开发环境中云服务的初始化和连接设置。
  • 通过 GitHub 安装,兼容 Codex、Claude 等平台。
  • 注意区分测试与生产环境,避免误改关键配置。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Context Mode Cloud Setup

Interactive onboarding flow to connect this plugin to Context Mode Cloud.

Instructions

  1. Check existing config — read ~/.context-mode/sync.json using Bash: cat ~/.context-mode/sync.json 2>/dev/null || echo "NOT_FOUND"

- If the file exists and contains a non-empty api_token, inform the user that cloud sync is already configured and show the current api_url and organization_id (never reveal the token — show only the last 4 characters masked as ctx_****abcd). - Ask if they want to reconfigure or keep the current settings. If they want to keep, stop here.

  1. Collect configuration — ask the user for three values, one at a time: a) API URL b) API Token c) Organization ID

- Default: https://api.context-mode.com - Tell the user: *"Press Enter to use the default, or paste your self-hosted API URL."* - If the user says "default", use https://api.context-mode.com. - Tell the user: *"Paste your API token from the Context Mode dashboard: Settings > API Tokens."* - This field is required — do not proceed without it. - Validate format: token should start with ctx_ and be at least 20 characters. If invalid, warn and ask again. - Tell the user: *"Paste your Organization ID from the dashboard: Settings > Team."* - This field is required — do not proceed without it.

  1. Save config — write the merged config to ~/.context-mode/sync.json using Bash: mkdir -p ~/.context-mode cat > ~/.context-mode/sync.json << 'JSONEOF' {"enabled": true, "api_url": "<API_URL>", "api_token": "<API_TOKEN>", "organization_id": "<ORG_ID>", "batch_size": 50, "flush_interval_ms": 30000} JSONEOF chmod 600 ~/.context-mode/sync.json Replace <API_URL>, <API_TOKEN>, and <ORG_ID> with the collected values.
  2. Test the connection — send a health check using Bash: curl -sf -o /dev/null -w "%{http_code}" \ -H "Authorization: Bearer <API_TOKEN>" \ "<API_URL>/api/health"

- 200 = success - Any other code or failure = connection error

  1. Display results as markdown directly in the conversation: On success: ` ## context-mode cloud setup - [x] Config saved to ~/.context-mode/sync.json - [x] Connection test: PASS (200 OK) - [x] Organization: <ORG_ID> Cloud sync is now active. Events will be sent to the dashboard on your next Claude Code session. Run /ctx-cloud-status to check sync health at any time. On **failure**: ## context-mode cloud setup - [x] Config saved to ~/.context-mode/sync.json - [] Connection test: FAIL (<error details>) Config was saved but the connection test failed. Check that: 1. Your API URL is reachable 2. Your API token is valid and not expired 3. Your network allows outbound HTTPS Run /ctx-cloud-setup again to reconfigure. `

Security Notes

  • Never log or display the full API token. Always mask it.
  • Set file permissions to 600 (owner read/write only).
  • The token is sent only over HTTPS in the Authorization header.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.2%
按下载量换算59

Claude

32.58%
按下载量换算58

Cursor

17.72%
按下载量换算32

Gemini CLI

9.23%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills