agentleFS
bighamxbighamx/openclaw-android-node-apk/.agents/skills/plugin-sdk-impact/SKILL.md

plugin-sdk-impact

Skill59 starsChanged 16 days agoMITView on GitHub

Query how many public plugins use a Plugin SDK method, optionally by recent release date, and assess SDK deprecation or behavior changes using live ClawHub evidence.

We split this skill into the rules it gives an agent

3 rules. 2 are common, 1 is distinctive, and 0 are very specific to this project.

  • 2

    Common

    Most of the 6 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use the current ClawHub inventory to inform the maintainer's compatibility decision.

    line 8
  2. Common:

    Never infer permission from the count.

    line 54
  3. Common:

    Do not dismiss a security issue just because no consumers were observed.

    line 92

“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Plugin SDK impact

Use the current ClawHub inventory to inform the maintainer's compatibility decision. Static usage identifies dependencies; it does not prove execution or reliance on a particular behavior. Keep the approval and deprecation rules in the SDK boundary guide authoritative.

Investigate

  1. Identify every affected public surface from source, including alternate SDK exports and runtime paths. Verify spelling against the definition and known callers; an incorrect key can return a convincing zero. Search bundled callers locally as well: the registry only covers published public plugins.
  2. Query each canonical key using the bundled helper:

    node {baseDir}/scripts/query.mjs 'api-member:api.registerTool'

    For “updated within the last three months”, add --months 3. This means the latest eligible public release was uploaded within three calendar months of now, measured in UTC (month ends are clamped). Listing edits and rescans do not count as updates. The stored release date is its creation/upload time; public approval can happen later. --since 2026-07-16T12:00:00Z accepts an explicit cutoff. Report the exact inclusive cutoff from releaseWindow, not a guessed date. Both consumers and coverage use the same window on every page.

    The helper follows all usage and coverage pages, including empty intermediate pages. Counts and coverage include every result; items, gaps, and warnings contain bounded examples with omitted counts in output.omitted. Mixed references count in both runtime and type totals. For an investigation needing every consumer or gap, save --full output to a file and read it in sections:

    node {baseDir}/scripts/query.mjs 'api-member:api.registerTool' --full > sdk-usage.json

    --help documents local endpoint and traversal limits.

  3. Inspect matched evidence against the proposed change. A method call may not use the behavior being changed. Type-only consumers still matter for type/export removal. Query related members separately; a module import does not prove use of every export. Repeated references in a plugin count as one consumer.
  4. For a usage-count question, report the key, query time, exact release window (if requested), distinct plugins, and coverage gaps. For a proposed SDK change, also report matched evidence, local callers, and your compatibility recommendation. Finish change investigations with the maintainer's decision: preserve behavior, deprecate with migration, or proceed under existing policy. Never infer permission from the count.

Canonical keys

SurfaceExample
SDK modulesdk-module:openclaw/plugin-sdk/core
Named SDK exportsdk-export:openclaw/plugin-sdk/core#OpenClawPluginApi
Plugin API methodapi-member:api.registerTool
Host runtime memberruntime-member:runtime.channel.reply.dispatchReplyFromConfig
Named hookhook:hook.before_agent_start
Manifest contractmanifest-contract:manifest.contracts.tools:example_tool

Keys describe SDK identities, not local aliases. api.runtime members normalize to runtime.*. The inventory includes supported and deprecated references; nonempty deprecationCodes selects entries associated with existing warnings. Per-plugin inspection is available at https://clawhub.ai/api/v1/sdk-usage/plugin?package=<encoded-name>; follow its nextCursor until null to obtain the full inventory.

Interpret the result

ResultReport
Observed consumers“N current public plugins reference this surface.” Inspect their evidence before judging a behavior change.
No observed consumers, complete coverage“No static references detected across N eligible public plugin artifacts.” This excludes private/unpublished plugins and unbundled dependencies; it is not proof that nobody uses the API.
Partial, failed, missing, incompatible, or unresolved analysisState observed matches, gap counts, and representative gaps. Zero matches leaves impact unknown.
Empty corpusNo eligible plugins were observed; this provides no ecosystem assurance.
Unavailable endpoint, malformed result, or incomplete traversalImpact is unknown. Preserve the error and use local evidence; never substitute zero.

Coverage is tied to current release/artifact and analysis versions. Eligible reports have inputKind: "artifact"; a source-checkout benchmark cannot establish what a published package contains. An old scan timestamp alone does not make an immutable artifact stale. Evidence is sampled; each scan reports its evidence/unknown limits. Pages are live reads, not one snapshot: rerun if releases or visibility change during the investigation. The helper flags changes it observes but cannot establish a transaction-wide snapshot.

Do not dismiss a security issue just because no consumers were observed. Describe how usage evidence affects compatibility risk; security and SDK owners still decide the fix and any exception to the normal migration window.

Download now (ZIP)

Trending

Surging: 3 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Aug 30: 0 new projectsWeek of Sep 6: 0 new projectsWeek of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 3 new projectsWeek of Oct 18: 0 new projects
Aug 2026Sep 2026Oct 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 3 in all, so this is a hint, not a trend.

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.