discover
Skill32 starsChanged 7 months agoMITView on GitHub
Tenant inventory discovery — the admin-run crawler. Enumerates the tenant's shared agent resources across eight kinds (Environment, EntraApp, Connector, Connection, SharePointSite, KnowledgeSource, ExtensionPack, ScenarioTemplate), assembles them into one payload, and submits the tenant's whole inventory in a single request so the tenant picture stays current on every re-run. The heavy lifting lives in the standalone crawler package at tools/tenant-inventory-discovery/. This skill drives it via scripts/discover_inventory.py and renders the results JSON. Every Message block is the exact text to show the…
- Reads credentials
63 other projects use a version of this.
Adopted by
Most recently taken up by
- mentealterne/GYOStheir own version, first seen Nov 29, 2026
- NVIDIA/AutoFAtheir own version, first seen Nov 29, 2026
- saleh-alhaddad/itqan-engineeringtheir own version, first seen Nov 28, 2026
- rafaelghif/antigravity-agents-coretheir own version, first seen Nov 22, 2026
- rafaym1/scholarship-desktheir own version, first seen Nov 16, 2026
- ychampion/ystacktheir own version, first seen Nov 15, 2026
Used with
Projects with it also use daily-arxiv, exp-eval and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
LambenthanSkilldaily-arxiv
每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新
Also in 5 projects that use this
LambenthanSkillexp-eval
实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges
Also in 5 projects that use this
skyllwtSkillexp-pilot-eval
Pilot result evaluation — read pilot results, apply success criteria, update idea page (pilot_result, failure_reason if failed), generate PILOT_VERDICT_REPORT. Called by /ideate Phase 5 after /exp-pilot-run.
Also in 4 projects that use this
skyllwtSkillexp-pilot-run
Pilot experiment execution — read Pilot Spec YAML, write pilot code, run experiment(Confirm with the user before operation and require the applicant to conduct manual inspection), return results. Called by /ideate Phase 5. Does NOT modify wiki pages or judge pass/fail.
Also in 4 projects that use this
Yusong-EnceladusSkillpaper-compile
Compile LaTeX paper to PDF, fix errors, and verify output. Use when user says \"编译论文\", \"compile paper\", \"build PDF\", \"生成PDF\", or wants to compile LaTeX into a submission-ready PDF.
Also in 5 projects that use this
- +6 more from Lambenthan
- +1 more from skyllwt
Other versions63 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 63
- skyllwt/OmegaWiki★ 1.7ksame name
- DAIR-AutoResearch/AutoSci★ 1.7ksame name
- PKU-DAIR/AutoSci★ 1.7ksame name
- skyllwt/AutoSci★ 1.7ksame name
- suboss87/FDEOps★ 769same name
- anombyte93/prd-taskmaster★ 608same name
- zaxbysauce/opencode-swarm★ 549same name
- ZaxbyHub/opencode-swarm★ 548same name
- qbeka/jev-job-search★ 401same name
- hsantanna88/clo-author★ 262same name
53 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository54 other files it gives its agents.
- dev-specs/ess-nextgen-migration-toolkit/AGENTS.mdAGENTS.md
- samples/AGENTS.mdAGENTS.md
- solutions/ess-maker-skills/scripts/flightcheck/AGENTS.mdAGENTS.md
- tests/AGENTS.mdAGENTS.md
- tools/ess-nextgen-migration-toolkit/AGENTS.mdAGENTS.md
- dev-specs/ess-nextgen-migration-toolkit/CLAUDE.mdCLAUDE.md
- tools/ess-nextgen-migration-toolkit/CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- solutions/ess-maker-skills/.github/copilot-instructions.mdCopilot instructions
- create-or-update-sample-topicSkill
- prepare-sample-prSkill
- triage-sample-issueSkill
- validate-sample-topicSkill
- plannerSkill
- rolesSkill
- setupSkill
- agent-basicsSkill
- analyticsSkill
- backup-template-configsSkill
- cleanupSkill
- servicenow-da-hrsdSkill
- servicenow-da-itsmSkill
- servicenow-daSkill
- connectSkill
- workdaySkill
- createSkill
- deleteSkill
- dispatcherSkill
- generateSkill
- reviewSkill
- runSkill
- updateSkill
- validateSkill
- flightcheckSkill
- foundation-setupSkill
- landing-page-configSkill
- manage-topicsSkill
- org-announcementsSkill
- plannerSkill
- restore-template-configsSkill
- rolesSkill
- create-eval-drivenSkill
- createSkill
- deleteSkill
- reviewSkill
- testSkill
- update-eval-drivenSkill
- updateSkill
- troubleshootSkill
- createSkill
- deleteSkill
- testSkill
- updateSkill
- ESS-Diagnostics-SkillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
28 rules. 0 are common, 6 are distinctive, and 22 are very specific to this project.
0
Common
Most of the 56 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
22
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Every Message block is the exact text to show the user.
- Distinctive: line 14
Do not rephrase, add commentary, or tell the user what tools you are calling.
- Very specific: line 20
Check setup silently, in one pass: read .local/setup/config.json and .local/config.json without narrating the reads or their result.
- Very specific: line 35
If setup is ready, take the tenant and agent context from .local/config.json and proceed.
- Distinctive: line 49
Before running the crawl, show:
- Very specific: line 104
Run from the solutions/ess-maker-skills directory.
- Distinctive: line 135
Do not cancel the run, re-run it, or report it as hung while they are arriving.
- Very specific: line 137
If the tenant has not changed since the last run, the command skips the request entirely and prints inventory already matches all N …
- Very specific: line 146
Use --quiet to suppress the narration, or --heartbeat-seconds N to change the silence budget (0 disables the heartbeat).
- Very specific: line 181
When the MCP server cannot be reached — it fails to start, the dev tunnel is unreachable, or the API rejects the probe — the run degrades …
- Very specific: line 217
If the status line is "status": "aborted", show:
- Distinctive: line 232
Before reading and presenting the results, show:
- Very specific: line 241
Read workspace/discover/results.json with your file-reading tool and format the summary yourself, directly in the chat reply.
- Very specific: line 281
After the table, show a one-line summary from totals:
- Very specific: line 289
If sync.retired is greater than zero, add:
- Very specific: line 298
If sync.blockedReason is non-empty, the inventory was not updated.
- Very specific: line 309
If sync.unchanged is true, the run succeeded — the tenant already matched what was stored, so the write was skipped as redundant.
- Very specific: line 326
If any scope has complete: false, show:
- Very specific: line 357
If EntraApp is incomplete and capped: true, say:
- Very specific: line 367
If instead the error mentions Application.Read.All, the signed-in admin lacks Graph permission to list applications.
- Very specific: line 381
When a type exceeds the cap, discovery records the first 50 sorted by natural key and marks the scope capped: true.
- Very specific: line 408
Only do this on a run that finished — Step 1 already stopped on an aborted run.
- Very specific: line 409
After presenting the results above, run from solutions/ess-maker-skills:
- Very specific: line 420
If it reports that no discover task was found (or there is no plan yet), this run is a standalone /discover, not part of a tracked rollout.
- Very specific: line 423
Do not narrate the command.
- Distinctive: line 466
Never present an incomplete scope as updated, and never present a withheld run as saved.
- Very specific: line 482
Never fabricate counts, environment ids, or resource names — every value comes from workspace/discover/results.json.
- Very specific: line 504
If a run degrades, read writePathNote before guessing.
“Common” is measured: kept by at least 6 in 10 of the 56 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.
Files
Discover Skill
Tenant inventory discovery — the admin-run crawler. Enumerates the tenant's shared agent resources across eight kinds (Environment, EntraApp, Connector, Connection, SharePointSite, KnowledgeSource, ExtensionPack, ScenarioTemplate), assembles them into one payload, and submits the tenant's whole inventory in a single request so the tenant picture stays current on every re-run.
The heavy lifting lives in the standalone crawler package at
tools/tenant-inventory-discovery/. This skill drives it via
scripts/discover_inventory.py and renders the results JSON.
Every Message block is the exact text to show the user. Copy it verbatim. Do not rephrase, add commentary, or tell the user what tools you are calling.
Start
Check setup silently, in one pass: read .local/setup/config.json and
.local/config.json without narrating the reads or their result. Setup is ready
only when .local/setup/config.json has schema_version: 4 and its agents entry
matching the .local/config.json activeAgent workspace slug reports
connect_ready: true. The setup field in .local/config.json is not a readiness
signal. If setup is not ready, show:
Message:
You need to run /setup first before discovering your tenant inventory.
End message.
Stop here.
If setup is ready, take the tenant and agent context from .local/config.json and
proceed.
Step 1: Run the crawl
Discovery always crawls the single environment configured during /setup. The
script finds that environment's Dataverse URL in the state /setup (or
/connect workday) already saved, so do not look the URL up, ask the user for it, or
write it to .local/config.json. If the script cannot find it, show its error and
stop. There is no scope choice to make and no full-tenant crawl — do not ask the user
which environments to crawl.
Before running the crawl, show:
Message:
Setup is ready. Next, I'll verify access to the inventory destination and scan the configured environment for environments, app registrations, connectors, connections, SharePoint sites, knowledge sources, extension packs, and scenario templates. You may be asked to sign in or approve access while this runs.
This usually takes a few minutes, and it prints its progress as it goes, so you can watch it work.
End message.
This command is expected to run for minutes, not seconds. It reads eight resource types across several platform APIs. It reports progress continuously (see "Reading the live progress output" below), so treat ongoing output as healthy — do not cancel it, re-run it, or tell the user it has stalled while progress or heartbeat lines are still arriving. Wait for the process to exit and parse the final JSON line on stdout.
What runs today. The default crawl enumerates all eight kinds live for the configured environment, using your admin sign-in (a browser window may open the first time to authenticate; Microsoft Graph and Copilot Studio may each prompt a separate consent the first time):
- Dataverse —
Connection,ExtensionPack,ScenarioTemplate(and theEnvironmentidentity, from config).- Microsoft Graph —
EntraApp(the tenant's app registrations) andSharePointSite(only the sites referenced by the agent's SharePoint knowledge sources).- Power Platform (BAP) admin —
Connector(the distinct connectors used by the environment's connections).- Copilot Studio —
KnowledgeSource(the agent bot's knowledge sources).If any kind's platform call fails (e.g. a missing role or consent), just that kind's scope is reported as Incomplete. Its existing rows are re-sent unchanged so nothing is removed for it, and the rest of the run still succeeds.
The write path is wired to the real WeveNova Inventory API and persisting is the default — a discovery pass exists to update the tenant inventory:
- default — persist to WeveNova through the ess-planner MCP server, which resolves its own token (
WEVENOVA_ACCESS_TOKEN, else the planner's cached MSAL sign-in, shared with the planner skill) and targetshttps://substrate.office.com/weveb2. Override the origin with--base-url(orWEVENOVA_BASE_URL) for other rings or a dev tunnel.--local-only— explicit opt-out: crawl, validate, and update the local mirror without contacting WeveNova.The live path is pre-flighted before the crawl. If the endpoint is unreachable or the token is rejected, the run degrades: it finishes the crawl, mirrors locally, sets
writeDegraded: truewith a reason, and exits2. It never silently claims to have persisted (see "Writing to WeveNova" below).Use
--demoto exercise the full eight-kind lifecycle against representative sample data instead of hitting Dataverse.
Run from the solutions/ess-maker-skills directory.
- Python launcher: Commands below use
python. If it is unavailable, usepy -3on Windows orpython3on macOS/Linux with the same arguments.
Live Dataverse crawl of the configured environment (persists to WeveNova by default):
python scripts/discover_inventory.py --tenant-id {TENANT_ID} --json-out workspace/discover/results.jsonOffline demo (no sign-in, sample data, all eight kinds):
python scripts/discover_inventory.py --tenant-id {TENANT_ID} --demo --local-only --json-out workspace/discover/results.jsonReading the live progress output
A live crawl reads eight resource types across several platform APIs, so it can run for
several minutes. The command narrates itself on stderr as it goes — the phase it is
in, each resource type as it is read (reading connections..., found 12 connections),
and finally a single save step (>> Saving the tenant picture: N resource(s) in one
request). If a single call is slow (token mint, retry backoff), a heartbeat line
(... still saving 137 resource(s) to the inventory (30s elapsed)) is emitted so the
output never goes silent for more than ten seconds.
The save step is one large request and normally takes minutes. It does all the writing and all the retiring for the whole run, and it cannot be split — under the whole-inventory contract each chunk would retire everything not in it. The command says so itself before it starts waiting. Treat heartbeat lines during this phase as healthy. Do not cancel the run, re-run it, or report it as hung while they are arriving.
If the tenant has not changed since the last run, the command skips the request entirely
and prints inventory already matches all N resource(s) -- nothing to save, skipping the
request. That is a success, not a failure.
This narration is progress only. The machine-readable result is still the single JSON object on stdout, which is the only thing to parse. Do not treat a heartbeat or a progress line as the result, and do not report the run as hung while these lines are still arriving.
Use --quiet to suppress the narration, or --heartbeat-seconds N to change the
silence budget (0 disables the heartbeat).
Writing to WeveNova
Persisting is the default, so no extra flag is needed. To target a non-production ring or a dev tunnel:
python scripts/discover_inventory.py --tenant-id {TENANT_ID} \
--base-url https://{wevenova-host} --json-out workspace/discover/results.jsonWrites go through the ess-planner MCP server
(src/mcp/agentconfig_planner/server.py), which owns the inventory tools alongside the
planner tools and resolves the bearer token in this order:
WEVENOVA_ACCESS_TOKEN- the planner's access token - the same cached MSAL sign-in the planner skill uses
(gitignored shared token cache under
agentconfig_core/.local/). The Inventory API accepts the planner'sweve/.defaultscope, so a maker already signed in for the planner gets a silent token and has nothing to paste; it is re-read on every attempt so a refreshed token mid-crawl is picked up.
On success writePath is reported as mcp:{host}.
Why the MCP server is the only live write path
The crawler never calls the Inventory API itself. Every write goes through the
ess-planner MCP server, which already holds the planner's signed-in token and is
preauthorized by the service's ManageAgentConfigurationFromAuthorizedApp policy, so
the Inventory API accepts its weve/.default scope. A token the crawler acquired on its
own would be minted for a client the policy does not admit and rejected with a consent
error (AADSTS65002) — so there is no direct path to misconfigure.
When the MCP server cannot be reached — it fails to start, the dev tunnel is
unreachable, or the API rejects the probe — the run degrades to local-only: it
finishes the crawl, mirrors the results locally, reports writePath as local-only
with a writePathNote, and exits 2. Nothing is lost. Re-run the crawl once the MCP
path is healthy and it reconciles the tenant inventory from the up-to-date local mirror.
--via-mcp predates the current design and is now a no-op, still accepted so existing
commands keep working.
Exit codes
| Code | Meaning |
0 | Crawl succeeded and the inventory was updated (or --local-only was requested). |
1 | The run aborted. Nothing was written; the local mirror was left untouched. |
2 | The crawl succeeded but the inventory was not updated — either the write path failed (writePathNote) or the sync was withheld for safety (syncWithheldNote). Nothing was deleted either way. |
The script prints a one-line status and writes the full results to
workspace/discover/results.json. The JSON always carries a discovered block (the
resources read this run, grouped by kind), a writePath field, and a writeDegraded
boolean. Whenever writePath is local-only — whether requested via --local-only or
forced by a degraded write — a writePathNote explains what happened. Say so plainly
when presenting results; never imply the tenant inventory was updated on the server
unless writePath is a host (or mcp:{host}) and writeDegraded is false.
On a successful (non-aborted) run the script also updates a durable local inventory
mirror at .local/inventory.json (override with --inventory-out). This file is the
persistent picture of the tenant: it is merged across runs using the same whole-inventory
rules the server uses — a successful sync refreshes everything the payload carried and
retires what it omitted (kept one run as state:"Retired", then pruned), while a run that
did not write preserves the prior picture untouched. Each record carries
firstSeenAt/lastSeenAt.
The server (WeveNova) remains the source of truth; this file is a local cache. An aborted
run never overwrites it. The script also drops a best-effort inventoryPath pointer into
.local/config.json.
If the status line is "status": "aborted", show:
Message:
Discovery didn't finish, so nothing was changed in your inventory. This is safe — the crawl only updates the inventory when it completes fully. Let's try again.
End message.
Then stop and offer to re-run.
Step 2: Present the results
Before reading and presenting the results, show:
Message:
The discovery run has finished. I'll now review each resource type, confirm what was recorded, and identify anything that could not be read or updated safely.
End message.
Read workspace/discover/results.json with your file-reading tool and format the
summary yourself, directly in the chat reply. Do NOT write or run any script to
parse the JSON.
First show the header line:
Message:
Here's what I found in your tenant (run {correlationId}):
End message.
Then render a table with one row per crawled scope, sorted with tenant-wide
resources first (empty environmentId), then grouped by environment. Map each
kind to a friendly label:
| Kind (JSON) | Friendly label |
| Environment | Environments |
| EntraApp | App registrations |
| Connector | Connectors |
| Connection | Connections |
| SharePointSite | SharePoint sites |
| KnowledgeSource | Knowledge sources |
| ExtensionPack | Extension packs |
| ScenarioTemplate | Scenario templates |
Table columns — read each from the scopes[] entries:
| Scope | Resource | Found | Recorded | Status |
- Scope =
Tenant-widewhenenvironmentIdis empty, otherwise theenvironmentId. - Resource = friendly label for
kind. - Found =
enumerated. - Recorded =
mapped. - Status =
Completewhencompleteistrue; otherwiseIncomplete — kept as-is(and include theerrortext if present).
After the table, show a one-line summary from totals:
Message:
Recorded {totals.mapped} resources across {totals.kindsCrawled} resource types.
End message.
If sync.retired is greater than zero, add:
Message:
I also removed {sync.retired} resource(s) that no longer exist in your tenant since the last discovery.
End message.
If sync.blockedReason is non-empty, the inventory was not updated. Say so plainly
and do not present the run as saved:
Message:
⚠️ I read your tenant but did not save the results: {sync.blockedReason}
Nothing was changed or deleted. Re-run /discover once that is resolved.
End message.
If sync.unchanged is true, the run succeeded — the tenant already matched what
was stored, so the write was skipped as redundant. This is not a withhold and not a
failure; never report it with a ⚠️ or alongside sync.blockedReason, which is empty in
this case.
Message:
✅ Your inventory is already up to date — I checked all {sync.submitted} resource(s) and nothing has changed since the last discovery, so there was nothing to save.
End message.
Step 3: Handle incomplete scopes
If any scope has complete: false, show:
Message:
I found one or more resource types that need attention. I'll preserve their existing inventory entries and explain what should be retried.
End message.
Then show:
Message:
Some resource types couldn't be fully read this time, so I left them untouched rather than risk removing valid entries. Re-running discovery will pick them up.
End message.
Offer to re-run /discover.
EntraApp incomplete because the tenant has more app registrations than the cap
EntraApp no longer depends on /connect having run — discovery enumerates the
tenant's app registrations directly from Microsoft Graph, so a tenant that has only
run /setup still gets a real reading.
The usual reason it comes back incomplete now is volume: the service caps every
kind at 50 rows per tenant, and directories routinely hold more app registrations
than that. When the read is truncated the scope is marked capped and nothing is
retired for it — which is correct, since the crawl never saw the whole directory.
If EntraApp is incomplete and capped: true, say:
Message:
EntraApp shows as not updated because this tenant has more app registrations than
the inventory records per resource type, so I only read part of the list. Nothing was
removed for it. The app registration this agent actually uses is always recorded.
End message.
If instead the error mentions Application.Read.All, the signed-in admin lacks Graph
permission to list applications. Say that consent for Application.Read.All is needed
and that nothing was removed for EntraApp. Do not suggest hand-editing
entraAppId into .local/config.json — discovery does not need it to enumerate.
Any resource type can hit the 50-row cap, not just EntraApp
The cap is 50 rows per resource type per tenant (the service's
MaxItemsPerTenantAndKind; 8 kinds × 50 is where the 400-item payload ceiling comes
from). EntraApp hits it most often because directories are large, but it applies
equally to Connection, KnowledgeSource, ExtensionPack and ScenarioTemplate —
and an enterprise tenant can easily hold more than 50 connections in a single
environment.
When a type exceeds the cap, discovery records the first 50 sorted by natural key
and marks the scope capped: true. Sorting matters: an arbitrary 50 would change
whenever the platform reordered its listing, and because absence retires, that churn
would delete and revive rows on alternating runs.
A capped scope is never authoritative, so nothing is retired for it — the rows beyond the cap are simply never recorded. Do not describe a capped scope as fully inventoried. If the user asks why a resource is missing from the inventory, this is the first thing to check:
Message:
This tenant has more {kind} than the inventory records per resource type (50), so I recorded the first 50 and left the rest out. Nothing was removed.
End message.
Step 4: Record the inventory on the rollout plan (only when one is tracking it)
A rollout plan authored by /planner includes a task to discover the tenant
inventory — a Power Platform admin task that runs right after setup and produces
tenantInventory. When such a plan is in play, close the loop: record this run's
summary onto the plan so that task can complete and every later task reads the
tenant picture off the plan instead of re-discovering it.
Only do this on a run that finished — Step 1 already stopped on an aborted run.
After presenting the results above, run from solutions/ess-maker-skills:
python scripts/planner/cli.py capture-discover --completeIt auto-detects the plan's discover task (the one that produces tenantInventory),
reads workspace/discover/results.json, pins one summary artifact — the per-kind
counts, the write path, and a pointer to the durable mirror
(.local/inventory.json) — and marks that task complete.
- If it reports that no discover task was found (or there is no plan yet), this
run is a standalone
/discover, not part of a tracked rollout. Skip this step silently — do not run anything else and do not mention it to the user. - Do not narrate the command. Surface the Message below only when the capture
succeeded (it printed the pinned
tenantInventoryartifact).
Message:
I've recorded this inventory against your rollout plan, so the discovery task is now complete and the rest of your plan can build on what already exists in your tenant.
End message.
Notes for the assistant (do not show the user)
- The crawler is idempotent by
(kind, naturalKey): re-running over an unchanged tenant produces identical results and removes nothing. - Absence is the delete verb. The client submits the tenant's entire inventory in
one
syncInventorycall and the service retires anything Active that the payload omits. There is no diff, no id list, and no server-side guardrail — every safety property lives in the client. The failure direction is inverted from the old design: a partial crawl used to remove too little, and would now remove too much. - The guardrail is carry-forward. Before syncing, the client reads the current inventory and re-sends verbatim every Active row belonging to a scope this run cannot vouch for. So a scope that failed to enumerate, was truncated, or was never visited keeps its rows and loses nothing.
- A scope may only retire by omission when it is authoritative: fully enumerated, no
fatal error, nothing unmappable, not
capped, and the platform declares tenant-wide reach for that kind. The kit crawls only the configured environment, soEntraAppis the one kind read tenant-wide;Environment,ConnectorandSharePointSiteare always carried forward even though they are filed at the tenant root. Env-scoped kinds are authoritative only inside the environment that was crawled. - Two situations withhold the sync entirely (exit code
2,sync.blockedReasonset): the current inventory could not be read, so carry-forward is impossible; or a row in it uses a kind this build does not recognise, so it cannot be re-sent faithfully. Withholding writes nothing and deletes nothing. - The sync is one large request and legitimately takes minutes — it does every write and every retirement for the run. It cannot be chunked: absence retires, so each chunk would delete everything not in it. Heartbeat lines during this phase mean healthy, not hung. Never cancel or re-launch a run that is still emitting them.
- The client skips that request when the payload already matches what the service holds
(
sync.unchanged: true), which is the common case on a re-run. That is a success with zero writes, not a withhold —sync.blockedReasonis empty and the exit code is0. Report it as up-to-date; never as failed, withheld, or "saved nothing". - Never present an incomplete scope as updated, and never present a withheld run as saved.
- Do not add a
scripts/emit_capability.py discoverstep to this skill. Anonymous capability telemetry is already emitted in-process bydiscover_inventory.py, once per run, as soon as its arguments parse.emit_capability_use()does not dedupe, so a shim step on top of that would double-count every/discoverrun on the Capability Usage dashboard. The shim exists for skills that have no script to hook; this one always runs a script. EntraAppis read tenant-wide from Microsoft Graph (GET /applications) and needs no configured id. WhenentraAppIdis known — resolved from the top-level key in.local/config.json, then.local/connect/workday/config.json(entraAppId), then.local/connect/servicenow/config.json(entra.appClientId) — that app is fetched separately and pinned to the front of the list, so it survives the 50-row truncation on a large directory. A tenant with more apps than the cap reportsEntraAppincomplete and therefore retires nothing for it. An empty read is also treated as incomplete, never as "every app was deleted".- Never fabricate counts, environment ids, or resource names — every value comes
from
workspace/discover/results.json. workspace/discover/results.jsonis the per-run render artifact. The durable cross-run picture is.local/inventory.json(the local mirror): merged with server-faithful whole-inventory semantics, withfirstSeenAt/lastSeenAtand one-runRetiredtombstones. The server (WeveNova) stays authoritative; the mirror is a local cache and is only updated on a run that actually synced.- Plan capture (Step 4) is the one plan touchpoint.
capture-discoverreadsworkspace/discover/results.jsonand pins a singleCustomtenantInventoryartifact (per-kind counts +writePath/writeDegraded+ a pointer to the mirror) onto the plan, attributed to the plan's discover task. It never copies the full per-resource picture onto the plan — that stays in.local/inventory.json. It is a safe no-op (exit 1, nothing written) when the workspace has no plan or no task producestenantInventory, so it is always safe to attempt after a finished run. - The default crawl reads all eight kinds live for the configured environment —
Dataverse (Connection, ExtensionPack, ScenarioTemplate), Microsoft Graph (EntraApp,
SharePointSite), the BAP admin API (Connector), and Copilot Studio (KnowledgeSource) —
via the admin's delegated sign-in.
--demoruns the full eight-kind lifecycle against sample data with no network or sign-in. - Server-side persistence is the default and is fully implemented, and it goes through
the local MCP server, which supplies the token. When
writePathislocal-onlyfor any reason, do not claim anything was saved to WeveNova. - If a run degrades, read
writePathNotebefore guessing. The usual causes are the MCP server failing to start, a missing or expired token file, or the dev tunnel being unreachable. A degraded run is not a bug in the crawl: the local mirror is current, and re-running once the MCP path is healthy reconciles the tenant inventory.
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
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.

