Token导航 LogoToken导航

Agent Skill · 研究检索

msw-search(都市固体废物搜寻)

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

msw-search 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 57,063。

总安装 441周安装 18GitHub Stars 公开资料未说明下载 141核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/msw-git/msw-ai-coding-plugins-official --skill msw-search

这个 Skill 是做什么的

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

msw-search 用于查找、检索和筛选相关信息,适合快速定位候选结果。适用于需要根据关键词或任务场景从来源线索中获取信息的场景。通过 npx skills add 命令安装,需结合原始 README 核验具体用法。安装前建议确认权限范围、维护状态及是否触发联网或文件读写操作。

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

来源仓库内路径:skills/msw-search

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/msw-git/msw-ai-coding-plugins-official --skill…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

msw-search 怎么安装?

在终端执行 npx skills add https://github.com/msw-git/msw-ai-coding-plugins-official --skill msw-searc…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

msw-search 支持哪些 AI 工具?

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

msw-search 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

msw-search 是免费的吗?

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

msw-search 用的人多吗?

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

msw-search 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 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调用外部服务未明确有提醒
msw-search

都市固体废物搜寻 · 本页

441—调用外部服务未明确有提醒

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

SKILL.md 原文

MSW Search

MSW has two distinct search targets. They behave differently, so they are covered in separate sections.

  1. API docs & implementation guides — Vector search that provides the details, code examples, related APIs, and implementation guidance that .d.mlua lacks.
  2. Resources — REST API to search and browse sprites, animations, sounds, resource packs, and avatars. The only path for obtaining RUIDs.

Routing Table

Request typeGo to section
"How do I implement this?", "Show me an example", "What related APIs exist?"Document search
".d.mlua only has the signature; the description is insufficient"Document search
"I don't know the API name (semantic search)"Document search (type=both)
"Implementation guide / best practice / pattern"Document search (type=document)
"I need a SpriteRUID", "Find a sprite for monster / NPC / background"Resource search
"Find an animation / sound / resource pack"Resource search
"Details for this RUID", "Similar resources"Resource search
"Avatar rendering / default avatar"Resource search

Section 1 — Document Search (APIs & Guides)

Vector search that supplies the detailed descriptions, code examples, related APIs, and implementation guides missing from .d.mlua.

Access Methods

The same vector search backend can be accessed through two paths. Results are identical.

MethodConditionUsage
MCP toolmsw-guide-mcp is connectedCall mlua_Document_Retriever, mlua_API_Retriever
Direct curlFallback when MCP is not connectedcurl "http://10.10.200.51:31817/search?q=...&type=...&limit=..."

Decision Flow

Need API-related information
│
├─ Checking signature / type / property / enum
│   → Read .d.mlua first (highest priority)
│   → If .d.mlua is insufficient, use vector search
│     (code examples, parameter details, related APIs, etc.)
│
├─ Implementation guide / pattern / best practice
│   → Vector search (type=document)
│
├─ Don't know the API name (semantic search)
│   → Vector search (type=both)
│
└─ How to access vector search:
    ├─ msw-guide-mcp connected? → MCP tool
    └─ Not connected → curl

API Research Order

Priority 1 —.d.mlua (always first)

If you know the API name, always read .d.mlua first. Signatures, types, properties, event parameters, and enum values can be confirmed here accurately.

Path: Environment/NativeScripts/{Component,Service,Event,Enum,Logic,Misc}/Name.d.mlua

SituationExample
Confirm method signature"Does TransformComponent have SetPosition?"
Property type / existence"What is the type of SpriteRendererComponent.RUID?"
Event parameter structure"What are the AttackEvent constructor parameters?"
List of enum values"What are the BodyMoveType values?"
Method existence"What methods does SpawnService have?"

Priority 2 — Vector search (when.d.mlua is not enough)

.d.mlua contains only signatures and lacks detailed descriptions and examples. Use vector search when you need any of the following.

SituationSearch typeExample query
Need a code exampleapiAIComponent example, BehaviorTree usage
Parameter detailsapiBadgeService GetBadgeInfosAndWait parameters
Related API cross-referencesapiAttackComponent related, HitComponent
ScriptOverridable checkapiAttackComponent CalcCritical override
Don't know the API namebothdamage calculation, inventory save
"How do I …?" implementation guidedocumenthow to make inventory system
Pattern / best practicedocumentcollision detection best practice
MCP mapping: mlua_API_Retriever = type=api, mlua_Document_Retriever = type=document.

MCP Tool Usage

When msw-guide-mcp is connected:

ToolMaps to typeDescription
mlua_API_RetrieverapiAPI details for Service / Component / Misc etc. (signatures, parameters, examples)
mlua_Document_RetrieverdocumentAuthoring manuals, guidelines, MLua usage, and other document-style material
Tool names and parameters follow the latest MCP schema.

Connection check: If a tool call errors out, it is not connected — fall back to curl.


Direct curl Usage

When msw-guide-mcp is not connected:

GET http://10.10.200.51:31817/search?q={query}&type={type}&limit={limit}
ParameterRequiredValueDescription
qOstringSearch query (natural language or API name)
typeXapi \document \bothSearch scope (default: both)
limitXintegerMax results (default: 5)

How to choose type

Intenttype
Specific API spec (parameters, return type, example)api
Implementation guidance (how-to, tutorial, concept)document
Ambiguous or broad scopeboth

Usage Examples

# Specific API details + example
curl "http://10.10.200.51:31817/search?q=AIComponent&type=api&limit=5"

# Implementation guide
curl "http://10.10.200.51:31817/search?q=how+to+make+an+inventory+system&type=document&limit=5"

# Semantic search (when exact API name is unknown)
curl "http://10.10.200.51:31817/search?q=collision+detection&type=both&limit=10"

Response Format

{
  "results": "formatted text with matching documents (title, section, content)"
}

Error Handling

CodeMeaningAction
503Service is starting upRetry after a short wait
500Internal error (OpenSearch)Fall back to .d.mlua files
Connection failureService not runningFall back to .d.mlua files

.d.mlua vs Search — Information Comparison

.d.mlua is a type stub (~29 lines); Search returns the full document (254+ lines).

Information.d.mluaSearch
Method signature / typesOO
Property declarationsOO
Detailed method description (DetailDesc)XO
Code examples (AdditionalPageContent)XO
Per-parameter descriptionsXO
Related APIs (SeeAlsoAPIs)XO
Related guides (SeeAlsoGuides)XO
ScriptOverridable flagXO
SyncDirectionPartialO
Localized descriptions (Ko/Ja/Es/Zh)XO

Maker Editor Syntax →.mlua Conversion Rules

Code examples in search results use Maker Editor syntax. They must be converted before being used in a local .mlua file.

ItemMaker Editor.mlua fileNote
Override declarationoverride integer CalcDamage(...)method integer CalcDamage(...)override → method
Block{...}... endBraces → end
Exec space[server only] or omitted@ExecSpace("ServerOnly")Annotation must be explicit
PropertyProperty: int32 Score = 0@Sync property int32 Score = 0Add @Sync if synced
Type intintintegerC# int → mlua integer
Type numbernumbernumberSame (double)
Type floatfloatfloatSame (single)
number (64-bit double) and float (32-bit single) are assignable to each other but remain distinct types. Follow the .d.mlua declaration.

Conversion example — AttackComponent from search results:

-- Maker Editor syntax (search result)
override int CalcDamage(Entity attacker, Entity defender, string attackInfo) {
    return 50
}
override boolean CalcCritical(Entity attacker, Entity defender, string attackInfo) {
    return _UtilLogic:RandomDouble() < 0.3
}
-- Converted to .mlua
@ExecSpace("ServerOnly")
method integer CalcDamage(Entity attacker, Entity defender, string attackInfo)
    return 50
end

@ExecSpace("ServerOnly")
method boolean CalcCritical(Entity attacker, Entity defender, string attackInfo)
    return _UtilLogic:RandomDouble() < 0.3
end

Section 2 — Resource Search (Sprite / Animation / Sound / Resource Pack / Avatar)

REST API for searching and browsing MSW resources. Never guess or fabricate a RUID — always obtain one through this API.

Base URL

https://resourcesearch-api.future.msw.nxdev.kr
  • No authentication (public API)
  • All endpoints use the /v3/ prefix
  • Content-Type: application/json; charset=utf-8 (for POST requests)
  • Recommended timeout: 15 seconds

POST body rule — always use a temp file, never inline -d '...'

For every POST endpoint in this section (/v3/search/resources, /v3/resources/batch, /v3/avatar/render), write the JSON body to a temp file first and call curl with --data-binary "@file":

REQ="$TMPDIR/msw_req.json"
cat > "$REQ" <<'JSON'
{ "query": "주황버섯", "types": ["resource_pack"], "categories": ["mob"], "limit": 5 }
JSON

curl -s -X POST https://resourcesearch-api.future.msw.nxdev.kr/v3/search/resources \
  -H "Content-Type: application/json; charset=utf-8" \
  --data-binary "@$REQ"

Why: passing JSON inline (-d '{"query":"주황버섯",...}') frequently breaks on non-ASCII input (Korean / Japanese / Chinese / emoji). The shell re-encodes the argument and the server returns:

{ "detail": "There was an error parsing the body" }

The temp-file pattern also sidesteps the extra quoting/escaping required on Windows (PowerShell, Git Bash). Apply it uniformly even when the body is ASCII-only, so the recipe stays identical across platforms and languages.

On Windows PowerShell, use $env:TEMP\msw_req.json instead of $TMPDIR/msw_req.json and write the file with Set-Content -Encoding utf8 (or Out-File -Encoding utf8). The --data-binary "@file" part is unchanged.

Resource Types

typeDescription
spriteStatic image (PNG)
animationclipFrame-based animation
resource_packFinished asset bundling sprites + animations + sounds
soundSound / audio clip

Categories

categoryDescription
mobMonster
npcNPC
mapMap / background / terrain
itemItem
effectEffect
skillSkill
uiUI element

RUID

A 32-character hex string that uniquely identifies every resource. Example: "0017da7385e04bc4b2ddbe5949b4b462"

  • The id field in search results is the RUID
  • assetGuid is a separate Unity asset GUID (used in spawn_preset)
  • Never guess or fabricate a RUID — always obtain it from an API response

Common Response Fields

{
  "id": "32-char hex RUID",
  "type": "sprite|animationclip|resource_pack|sound",
  "category": "mob|npc|map|item|effect|skill|ui",
  "names": {
    "ko": ["Korean name"],
    "en": ["English name"]
  },
  "assetGuid": "Unity asset GUID (may or may not exist)",
  "payload": {
    "width": 64,
    "height": 64,
    "thumbnail": "https://...",
    "pivot": {"x": 32, "y": 32},
    "frames": [],
    "elements": []
  }
}

Endpoint Summary

MethodEndpointPurpose
POST/v3/search/resourcesNatural-language semantic search
GET/v3/search/resources/similar/{ruid}Find similar resources
GET/v3/resources/{ruid}Single resource details
POST/v3/resources/batchBatch fetch multiple resources
GET/v3/resources/tags/{ruid}AI-generated multilingual tags
GET/v3/resourcesList by type / category
GET/v3/resources/randomRandom resource recommendation
GET/v3/resources/packs/{pack_id}Resource pack details + components
GET/v3/avatars/defaultsDefault avatar body / head RUIDs
GET/v3/avatars/{ruid}Avatar item details
POST/v3/avatar/renderRender an avatar

Resource Routing Guide

SituationEndpoint to useReference file
"Find a slime sprite"POST /v3/search/resourcesreferences/resource/search.md
"Any more monsters like this one?"GET /v3/search/resources/similar/{ruid}references/resource/search.md
"Details for RUID abc123"GET /v3/resources/{ruid}references/resource/detail.md
"Show me a list of monster sprites"GET /v3/resourcesreferences/resource/browse.md
"What's inside this resource pack?"GET /v3/resources/packs/{pack_id}references/resource/browse.md
"Render an avatar"POST /v3/avatar/renderreferences/resource/avatar.md

Typical Workflow

1. Semantic search (POST /v3/search/resources) → obtain RUID
2. Detail lookup (GET /v3/resources/{ruid}) → inspect payload
3. For resource packs → pack details (GET /v3/resources/packs/{pack_id}) → individual element RUIDs
4. Assign the individual RUID to SpriteRendererComponent.SpriteRUID
For detailed Request/Response of each endpoint, refer to the files under references/resource/.

Shared Tips

  1. Keyword choice — Use the exact name if you know it; natural-language Korean/English also works.
  2. Adjust limit — Use a larger value (10+) for broad exploration, smaller (3) for precise lookups.
  3. When search fails:

- Document search fails → read .d.mlua directly and check mod/APIMetadata/ JSON. - Resource search fails → retry with synonyms or a different category; browse with GET /v3/resources by type/category. - POST returns {"detail":"There was an error parsing the body"} → you almost certainly used inline -d '{...}' with a non-ASCII value. Switch to the temp-file pattern (--data-binary "@file") described in Section 2.

  1. Composite queries are allowed — e.g. AttackComponent CalcCritical for docs, red slime jump for resources.
  2. No guessing — Never guess API names, RUIDs, or enum values; always confirm via search or references.

平台分布

Codex

36.56%
按下载量换算52

Claude

31.27%
按下载量换算44

Cursor

18.07%
按下载量换算25

Gemini CLI

9.51%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills