Token导航 LogoToken导航

Agent Skill · 研究检索

detect(detect 搜索)

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

detect 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 37,435。

总安装 1,738周安装 71GitHub Stars 7下载 562核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/launchdarkly/agent-skills --skill detect

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

detect 用于识别项目技术栈及 LaunchDarkly SDK 集成状态,辅助初始化配置。适合新项目接入 LaunchDarkly 前的环境检测与依赖分析。通过扫描文件特征判断语言和框架,指导后续集成步骤。安装前应确认项目根目录可读,避免在受限环境中触发额外文件访问。

detect 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/detect

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/launchdarkly/agent-skills --skill detect;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

detect 怎么安装?

在终端执行 npx skills add https://github.com/launchdarkly/agent-skills --skill detect。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

detect 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

detect 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

detect 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

detect 用的人多吗?

公开数据是累计安装 1,738 次,近一周安装 71 次,下载 562 次,GitHub 7 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

detect 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
detect

detect 搜索 · 本页

1,7387操作浏览器未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Detect repository stack (SDK install)

Before installing anything, you must understand the project. Identify what the project is built with and whether LaunchDarkly is already present.

This skill is nested under LaunchDarkly SDK Install (onboarding); the parent Step 1 is detect. Next: Generate integration plan unless the decision tree sends you elsewhere.

1. Language and framework

Look for the indicator files below (and related root layout), then read the relevant manifests to infer language and framework.

Look for these files to identify the stack:

FileLanguage/Framework
package.jsonJavaScript/TypeScript (check for React, Next.js, Vue, Angular, Express, React Native, Electron, etc.)
requirements.txt, pyproject.toml, Pipfile, setup.pyPython (check for Django, Flask, FastAPI)
go.modGo (check for Gin, Echo, Fiber, Chi)
pom.xml, build.gradle, build.gradle.ktsJava/Kotlin (check for Spring, Quarkus, Android)
GemfileRuby (check for Rails, Sinatra)
*.csproj, *.sln, *.fsproj.NET/C# (check for ASP.NET, MAUI, Xamarin, WPF, UWP)
composer.jsonPHP (check for Laravel, Symfony)
Cargo.tomlRust (check for Actix, Axum, Rocket)
pubspec.yamlFlutter/Dart
Package.swift, Podfile, *.xcodeprojSwift/iOS
AndroidManifest.xmlAndroid (also check build.gradle for com.android)
rebar.config, mix.exsErlang/Elixir
CMakeLists.txt, Makefile (with C/C++ patterns)C/C++ (check for #include patterns)
*.cabal, stack.yamlHaskell
*.lua, rockspecLua
manifest, *.brsRoku (BrightScript)
wrangler.tomlCloudflare Workers (edge SDK)
vercel.json with edge functionsVercel Edge (edge SDK)

Read the dependency file to identify the specific framework. For package.json, check both dependencies and devDependencies.

If you cannot identify the language or framework:

D5 -- BLOCKING: Call your structured question tool now.

  • question: "I couldn't detect the project's language or framework. Which SDK would you like to use?"
  • options: Present the available SDKs from SDK recipes as selectable options.
  • STOP. Do not write the question as text. Do not continue until the user selects an option.

2. Package manager

Identify how the project installs dependencies:

IndicatorPackage Manager
package-lock.jsonnpm
yarn.lockyarn
pnpm-lock.yamlpnpm
bun.lockbbun
Pipfile.lockpipenv
poetry.lockpoetry
go.sumgo modules
Gemfile.lockbundler

Use the detected package manager for all install commands. If multiple lock files exist, prefer the one that was most recently modified.

3. Monorepo layout

Some repositories host multiple packages or services. Look for these indicators:

File / patternTool or layout
pnpm-workspace.yamlpnpm workspaces
lerna.jsonLerna
nx.jsonNx
turbo.jsonTurborepo
rush.jsonRush
packages/ directory with multiple package.json filesGeneric monorepo

When any of these apply, do not assume the repo root is the integration target:

D5 -- BLOCKING: Call your structured question tool now.

  • question: "This is a monorepo. Which package, app, or service should I integrate LaunchDarkly into?"
  • options: List the discovered packages/apps as selectable options.
  • STOP. Do not write the question as text. Do not continue until the user selects an option.

Then run the rest of this detect step -- language, package manager, entrypoint, and SDK search -- in that target directory (and its subtree), not only at the root.

4. Application entrypoint

Find the main file where the application starts. In a monorepo, apply the patterns below within the chosen package after section 3 Monorepo layout. Common patterns:

  • Node.js (server): Check package.json "main" field, or look for index.js, server.js, app.js, src/index.ts
  • NestJS: Look for src/main.ts or src/main.js
  • Python: Look for app.py, main.py, manage.py, wsgi.py, or the [tool.poetry.scripts] section
  • Go: Look for main.go or cmd/*/main.go
  • Java: Search for public static void main or @SpringBootApplication
  • Ruby: Look for config.ru, config/application.rb
  • React/Vue/Angular: Look for src/index.tsx, src/main.tsx, src/App.tsx, src/main.ts
  • Next.js: App Router -- app/layout.tsx or app/layout.js (root layout). Pages Router -- pages/_app.tsx or pages/_app.js
  • React Native: Look for App.tsx, App.js, index.js (with AppRegistry.registerComponent)
  • Electron: Check package.json "main"; common paths include main.js or src/main.ts
  • JavaScript (browser): Look for index.html, src/index.js, or bundler entry in webpack.config.js / vite.config.ts
  • Flutter: Look for lib/main.dart
  • Swift/iOS: Look for AppDelegate.swift, SceneDelegate.swift, or @main struct
  • Android: Look for MainActivity.java or MainActivity.kt

5a. Classify workspace confidence

After sections 1-4, classify the workspace into one of three states before continuing. This classification determines how the rest of the flow proceeds.

StateMeaningCriteria
Clear appA runnable application was foundLanguage/framework detected, a real entrypoint exists, dependency manifest is present with application dependencies
Unclear / weak evidenceSomething is present but it does not clearly represent a runnable appStray or minimal package.json (e.g. only devDependencies, no scripts), isolated config/manifest files, theme or config-only folders, token/fixture JSON, lockfiles without corresponding source, or multiple conflicting indicators with no dominant app structure
No app foundNo recognizable application structure was detectedNo dependency manifests, no entrypoints, no source files matching known patterns, or the workspace is empty / contains only documentation

Weak evidence must not be treated as confirmation. Examples of weak evidence:

  • A package.json with no scripts section and no application source files
  • A lone requirements.txt in a directory of data files or notebooks
  • Config, theme, or fixture directories with manifests that do not represent a runnable service
  • Monorepo roots where the real apps live in subdirectories but none was selected

Branching by state:

D5-UNCLEAR -- BLOCKING: Call your structured question tool now.

  • question: "I found some project files, but I'm not confident I've identified the right application to integrate. Can you point me to the correct app folder?"
  • context: Briefly describe what you found and why it's ambiguous (e.g., "There's a package.json at the root, but it has no start script and no application source files").
  • options:

- Present any candidate folders you detected as selectable options - "It's somewhere else -- I'll tell you the path" - "There is no app yet -- help me create a demo"

  • STOP. Do not make code changes, install packages, or generate an integration plan until the user confirms the target. Do not continue until the user selects an option.

After the user points to the correct folder, re-run detection (sections 1-4) scoped to that folder.

  • No app found:

Tell the user clearly: "I didn't find a runnable application in this workspace." Then offer two paths:

D5-NOAPP -- BLOCKING: Call your structured question tool now.

  • question: "I didn't find a runnable application in this workspace. How would you like to proceed?"
  • options:

- "Point me to the right folder -- the app is somewhere else" - "Create a minimal demo app so I can try LaunchDarkly"

  • STOP. Do not continue until the user selects an option.

If the user chooses "point me to the right folder," re-run detection scoped to the path they provide. If they choose "create a demo app," create a minimal runnable app in a new subfolder (e.g. launchdarkly-demo/) using the simplest stack you can scaffold (Node.js + Express or a static HTML page are good defaults), then continue detection from that subfolder.

Do not declare onboarding complete unless the app target has been confirmed and the app can actually run.

6. Existing LaunchDarkly SDK

Search the codebase for existing LaunchDarkly usage:

Search for: launchdarkly, ldclient, ld-client, LDClient, @launchdarkly, launchdarkly-

Check:

  • Is the SDK already in the dependency file?
  • Is there initialization code?
  • Is it properly configured or partially set up?
  • Are there already feature flag evaluations?

SDK confirmation

After detecting the stack, confirm the SDK choice with the user:

  • If one SDK is clearly the right fit: Present your recommendation and get confirmation:

D5 -- BLOCKING: Call your structured question tool now.

  • question: "Based on what I found, I recommend the [SDK name] SDK. Does that look right?"
  • options:

- "Yes, proceed with that SDK" -> continue to plan - "No, I want a different one" -> let user specify

  • STOP. Do not write the question as text. Do not continue until the user selects an option.
  • If multiple SDKs could apply (e.g., a Next.js project with both server and client components):

- If the user already asked for both (e.g. "frontend and backend," "server + browser," "API and SPA"): Treat that as a dual-SDK scope. Proceed to Generate integration plan with both SDKs in scope -- do not plan or implement only one and assume the other is "covered." - If scope is unclear:

D5 -- BLOCKING: Call your structured question tool now.

  • question: "This project has both server-side and client-side surfaces. Which do you want to integrate?"
  • options:

- "Server-side only" - "Client-side only" - "Both server-side and client-side"

  • STOP. Do not write the question as text. Do not continue until the user selects an option.

If they choose both, the plan must include two concrete integrations (see plan: Dual SDK integrations).

  • If you cannot determine the right SDK: Present the available options from the SDK recipes as selectable options in your question tool and use the same blocking pattern above.

Decision tree

After detection and confirmation:

  • No app found or unclear --> Already handled by D5-NOAPP / D5-UNCLEAR in section 5a. Do not proceed to plan until the user confirms a real app target.
  • SDK already installed and initialized --> Skip to Create first feature flag (parent Step 6)
  • SDK installed but not initialized --> Skip to Apply code changes (just add init code)
  • SDK not present --> Continue to Generate integration plan
  • Multiple targets detected (e.g., frontend + backend) --> If the user wants both SDKs (confirmed via D5 above), continue to Generate integration plan with dual-SDK scope (two packages, two entrypoints). If they want one surface only, plan for that single SDK.
  • Language not detected --> Already handled by the D5 blocking question in section 1.

Upon completion (normal path): Generate integration plan

平台分布

Codex

34.19%
按下载量换算192

Claude

27.05%
按下载量换算152

Cursor

19.57%
按下载量换算110

Gemini CLI

9.99%
按下载量换算56

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills