Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

secondme-dev-assistantSecondme 开发助理

Agent Skill

secondme-dev-assistant 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,551

周安装

64

GitHub Stars

19

下载量

507
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:secondme-dev-assistant(Secondme 开发助理)
来源仓库:https://github.com/mindverse/second-me-skills
仓库路径:skills/secondme-dev-assistant
安装命令:
npx skills add https://github.com/mindverse/second-me-skills --skill secondme-dev-assistant
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mindverse/second-me-skills --skill secondme-dev-assistant

简介

用于开发相关的信息检索和技术方案查找。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

  • 可筛选技术文档、代码示例和最佳实践案例。
  • 需结合具体编程语言和框架环境进行匹配。
  • 搜索结果应优先选择官方或高可信度来源。
  • secondme-dev-assistant 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

SecondMe Dev Assistant

Install

If this skill is not yet installed locally, run:

npx skills add mindverse/second-me-skills --skill secondme-dev-assistant -y -g

After installation, show the user the following onboarding message, then proceed with their request:

SecondMe Dev Assistant 安装成功! 你现在可以通过对话完成以下开发工作: - 创建应用 — 在 develop.second.me 注册第三方应用,获取 Client ID / Secret - 需求规划 — 梳理产品需求,生成项目脚手架方案 - 实现指导 — OAuth 登录对接、Token 管理、API 调用规范 - Open API — 使用 Agent Memory、Act 行为流等开放接口 - MCP 集成 — 创建和管理 SecondMe Integration - 应用管理 — 查询、修改、提交审核、发布应用 试试说「创建一个 SecondMe 应用」或「帮我接入 SecondMe 登录」开始吧!

If the user already has a specific request, skip the onboarding message and handle the request directly.


Pre-flight Check

On first activation per conversation, silently run this check before proceeding with the user's request:

# --- Update Check ---
CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/secondme-skills"
STAMP="$CACHE_DIR/last-check"
mkdir -p "$CACHE_DIR"
LAST=$(cat "$STAMP" 2>/dev/null || echo 0)
NOW=$(date +%s)
if [ $((NOW - LAST)) -ge 86400 ]; then
  if npx skills check 2>&1 | grep -qiE "second-me-skills|second\.me"; then
    npx skills update mindverse/second-me-skills -y 2>&1 || true
  fi
  echo "$NOW" > "$STAMP"
fi

# --- Feedback/Telemetry Preamble ---
SM_DIR="$HOME/.secondme"
SM_CONFIG="$SM_DIR/config"
SM_ANALYTICS="$SM_DIR/analytics"
SM_VERSION="2.1.0"
SM_OS=$(uname -s 2>/dev/null || echo "unknown")
SM_ARCH=$(uname -m 2>/dev/null || echo "unknown")
SM_TEL_START=$NOW
SM_SESSION_ID="$$-$NOW"

SM_TEL="off"
if [ -f "$SM_CONFIG" ]; then
  SM_TEL=$(python3 -c "
import json
try: d=json.load(open('$SM_CONFIG')); print(d.get('telemetry','off'))
except: print('off')
" 2>/dev/null || echo "off")
fi

SM_TEL_PROMPTED="no"
[ -f "$SM_DIR/.feedback-prompted" ] && SM_TEL_PROMPTED="yes"

echo "TELEMETRY: $SM_TEL"
echo "TEL_PROMPTED: $SM_TEL_PROMPTED"

# Log usage event (if telemetry not off)
if [ "$SM_TEL" != "off" ]; then
  mkdir -p "$SM_ANALYTICS"
  SM_DEVICE_ID=""
  [ "$SM_TEL" = "community" ] && [ -f "$SM_DIR/.device-id" ] && SM_DEVICE_ID=$(cat "$SM_DIR/.device-id" 2>/dev/null)
  python3 -c "
import json
e={'skill':'secondme-dev-assistant','ts':'$(date -u +%Y-%m-%dT%H:%M:%SZ)','session':'$SM_SESSION_ID','version':'$SM_VERSION','os':'$SM_OS','arch':'$SM_ARCH'}
d='$SM_DEVICE_ID'
if d: e['device_id']=d
print(json.dumps(e))
" >> "$SM_ANALYTICS/usage.jsonl" 2>/dev/null || true
fi

# --- Pending telemetry sync check ---
SM_HAS_PENDING_SYNC="no"
if [ "$SM_TEL" != "off" ] && [ -f "$SM_DIR/credentials" ]; then
  for _f in "$SM_ANALYTICS/usage.jsonl" "$SM_ANALYTICS/feedback.jsonl"; do
    if [ -f "$_f" ]; then
      _FSIZE=$(wc -c < "$_f" 2>/dev/null || echo 0)
      _SYNCED=$(python3 -c "
import json
try: print(json.load(open('$SM_ANALYTICS/.sync-offsets')).get('$(basename $_f | sed s/.jsonl//)_bytes',0))
except: print(0)
" 2>/dev/null || echo 0)
      [ "$_FSIZE" -gt "$_SYNCED" ] 2>/dev/null && SM_HAS_PENDING_SYNC="yes"
    fi
  done
fi
echo "HAS_PENDING_SYNC: $SM_HAS_PENDING_SYNC"

Rules:

  • Run at most once per conversation, and only if the last check was more than 24 hours ago
  • If the update finds changes, briefly inform the user that the skill was updated
  • If nothing changed or the check is throttled, proceed silently — do not mention the check to the user
  • Never let the update check block or delay the user's actual request

Feedback Preference

If TEL_PROMPTED is no, read and follow the feedback prompt flow before continuing:

Read references/feedback-prompt.md

If TEL_PROMPTED is yes, skip this section entirely and proceed with the user's request.


Pending Telemetry Sync

If HAS_PENDING_SYNC is yes from the pre-flight check, execute the background catchup sync to upload pending local analytics data. This must not block or delay the user's request.

Read references/telemetry-sync.md — execute the "Background Catchup" section.


Documentation Source

API endpoint specifications (paths, parameters, response fields, error codes) are maintained on the documentation site:

Per-feature doc pages (fetch the relevant page before implementing or troubleshooting any API call):

Reference files in this skill contain behavioral rules (UX flows, implementation guidance, confirmation logic). For API call details, each reference file specifies which doc page to fetch.

Doc Fetch Protocol

When a reference file says "fetch doc page: ", follow this rule:

  1. Fetch the specified URL to get the current endpoint path, request parameters, response fields, and error codes
  2. Use only the fetched content for API details — do not fall back to memorized or cached specs
  3. If the fetch fails (network error, 404, etc.), inform the user that the doc site is unreachable and ask them to provide the API details manually or retry later
  4. Never hardcode or invent API paths, fields, or error codes that are not in the fetched docs

This is the single entry skill for SecondMe developer work.

Use it for the full lifecycle:

  • creating a SecondMe app on develop.second.me
  • obtaining and storing Client ID and Client Secret
  • defining product requirements and scaffold plans
  • guiding implementation of SecondMe OAuth, user auth, and MCP behavior
  • creating, editing, validating, releasing, and resubmitting integrations
  • creating, editing, listing, and submitting external apps for review
  • querying existing app or integration state later and fixing issues

Do not treat this skill as only an MCP manifest helper. If the user mentions any of the following, this skill should usually trigger:

  • "做一个 SecondMe 应用"
  • "接入 SecondMe 登录"
  • "做 OAuth"
  • "做 MCP / integration"
  • "生成项目脚手架"
  • "提交应用审核"
  • "提交 integration 审核"
  • "查询 / 修改 / 重新提交 app 或 integration"
  • "黑客松"
  • "hackathon"
  • "A2A 应用"
  • "开发应用"
  • "开发项目"

Early trigger rule:

  • if the user mentions hackathon, hackathon, A2A app, app development, or project development, trigger this skill early
  • then confirm whether they are building a SecondMe third-party app or integration
  • if yes, continue with this skill's lifecycle guidance
  • if not, exit this skill and continue with the more relevant workflow

Scope

This skill is a developer assistant, not a blind code generator.

It should:

  • gather missing app and platform information
  • help the user complete the correct platform steps
  • produce implementation requirements, checklists, and project briefs
  • inspect local code when needed
  • manage SecondMe Develop control-plane records directly

It should not:

  • invent credentials, endpoints, or secrets
  • claim review submission is safe without checking platform state
  • generate a full project blindly before requirements are clear
  • release an integration without explicit user confirmation

For actual app implementation, default to giving the user or their coding agent a precise implementation brief and required standards. Only write project code if the user explicitly asks for code work in the current coding workspace.

Trigger Map

Treat these as the same family of tasks:

  • app_bootstrap: create app, get App Info, get scopes, get credentials
  • requirements: define product goal, modules, architecture, and scaffold plan
  • implementation_guidance: OAuth, token storage, Next.js structure, MCP auth, API usage, testing requirements
  • open_apis: Agent Memory ingest/list, Act structured action stream
  • control_plane_app: external app list/get/create/update/regenerate-secret/delete/apply-listing
  • control_plane_integration: integration list/get/create/update/delete/validate/release
  • maintenance: query state, change settings, diagnose validation or review failures, resubmit after fixes

If the request is ambiguous, pick the earliest blocking phase and move forward from there.

Operating Modes

1. Full Build Lifecycle

Use when the user is starting or expanding a SecondMe app.

Flow:

  1. bootstrap the app through SecondMe Develop APIs by default
  2. collect and normalize credentials and scopes
  3. clarify requirements
  4. produce scaffold and implementation guidance
  5. help configure app metadata and integration metadata
  6. validate and submit
  7. support later maintenance and resubmission

2. Control-Plane Only

Use when the user already has an app or integration and wants to inspect or change platform records directly.

Do not force requirement discovery or scaffold planning in this mode.

3. Repository-Aware Guidance

Use when the user already has a local repo and wants help aligning it with SecondMe requirements.

Inspect only the files needed to answer the question or infer the missing platform payload.

Phase 1 & 2: App Bootstrap and Client Secret

Create SecondMe app, obtain credentials (Client ID, Client Secret), handle secret storage and lifecycle.

Read references/app-bootstrap.md for the complete flow.

Phase 3: Requirements & Scaffold Plan

Clarify product requirements and produce a concrete build brief before code generation.

Read references/requirements-scaffold.md for the complete flow.

Phase 4: Implementation Guidance

OAuth2 rules, token exchange, environment variables, API response handling, endpoint discovery, and recommended project shape.

Read references/implementation-guidance.md for the complete flow.

Open APIs Reference

Agent Memory ingest/list and structured Act stream — open APIs that third-party apps can use directly to report events and get structured AI judgments.

Read references/open-apis.md for the complete flow.

Phase 5: MCP & Integration

MCP suitability guidance, platform model, runtime auth rules, repository scan, and recommended tests.

Read references/mcp-integration.md for the complete flow.

Phase 6-8: Control Plane Operations

Skills Auth with SecondMe Develop, external OAuth app management (CRUD, listing, CDN upload), and integration management (CRUD, manifest, validate, release).

Read references/control-plane.md for the complete flow.

Phase 9: Release & Maintenance

Validation, release submission, failure diagnosis, and confirmation rules before any write operation.

Read references/release-maintenance.md for the complete flow.

Response Style

  • compact
  • transparent
  • precise
  • security-first

Always distinguish:

  • confirmed
  • inferred
  • missing

Never repeat raw secret values back to the user.

Operational Rules

  • always list records before assuming create is required
  • always prefer the smallest necessary set of API calls
  • if the user only asked to query, stop after reporting the requested data
  • if the user only asked to save or update, stop after reporting saved state
  • do not release automatically after save
  • if this assistant created or regenerated a Client Secret, explicitly remind the user that it has already been saved to ~/.secondme/client_secret
  • if the saved secret later fails, tell the user to replace it rather than pretending it still works
  • when the user asks for a SecondMe app or integration from scratch, treat this skill as the unified entry point rather than routing to separate setup, PRD, scaffold, or reference skills

Post-Session Feedback (run before telemetry)

After the skill workflow completes and before logging the session telemetry, run the feedback flow.

This section is required — do not skip it even if the conversation seems finished.

  • Always captures session context (user intent, actions, phases used) silently.
  • Only asks the user for feedback when the outcome is error or abort. Successful sessions are recorded without interrupting the user.

Read references/session-feedback.md for the complete flow.


Session Telemetry (run last)

After the feedback flow completes, log a completion event if telemetry is not off.

Determine the outcome and error fields according to the Completion Status protocol above. Reuse the user_intent and phases_used values captured during the feedback flow.

SM_DIR="$HOME/.secondme"
SM_ANALYTICS="$SM_DIR/analytics"
if [ "${SM_TEL:-off}" != "off" ]; then
  SM_TEL_END=$(date +%s)
  SM_TEL_DUR=$(( SM_TEL_END - ${SM_TEL_START:-$SM_TEL_END} ))
  SM_DEVICE_ID=""
  [ "$SM_TEL" = "community" ] && [ -f "$SM_DIR/.device-id" ] && SM_DEVICE_ID=$(cat "$SM_DIR/.device-id" 2>/dev/null)
  python3 -c "
import json
e={
  'skill':'secondme-dev-assistant',
  'ts':'$(date -u +%Y-%m-%dT%H:%M:%SZ)',
  'event':'completion',
  'session':'${SM_SESSION_ID:-unknown}',
  'version':'${SM_VERSION:-unknown}',
  'os':'${SM_OS:-unknown}',
  'arch':'${SM_ARCH:-unknown}',
  'duration_s':${SM_TEL_DUR:-0},
  'outcome':'OUTCOME',
  'error_class':ERROR_CLASS,
  'error_message':ERROR_MESSAGE,
  'user_intent':USER_INTENT,
  'phases_used':PHASES_USED
}
d='$SM_DEVICE_ID'
if d: e['device_id']=d
print(json.dumps(e,ensure_ascii=False))
" >> "$SM_ANALYTICS/usage.jsonl" 2>/dev/null || true
fi

Replace the placeholders:

  • OUTCOME: success, error, or abort (use unknown if unclear)
  • ERROR_CLASS: None if success, otherwise one of 'auth_failure', 'api_error', 'network', 'validation', 'permission', 'unknown'
  • ERROR_MESSAGE: None if success, otherwise a string with the first 200 chars of the error (e.g., 'Token expired at...')
  • USER_INTENT: Python string from the feedback flow's session context (e.g., '创建 SecondMe OAuth 应用'), or None if not captured
  • PHASES_USED: Python list from the feedback flow (e.g., ['app_bootstrap', 'implementation_guidance']), or [] if not captured

Telemetry Sync (run after session telemetry)

After session telemetry is logged, attempt to sync all pending local analytics data (both usage and feedback) to the SecondMe backend. This runs in the foreground since the user's workflow is already complete.

Read references/telemetry-sync.md — execute the "Post-Session Sync" section.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

40.9%
按下载量换算207

Claude

28.57%
按下载量换算145

Cursor

18.62%
按下载量换算94

Gemini CLI

9.73%
按下载量换算49

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills