agentleFS
ostrium-labsostrium-labs/loams-skills/skills/stack-inventory/SKILL.md

stack-inventory

Skill1 starsChanged 38 days agoApache-2.0View on GitHub

Inventory a company's services, data stores, workflows, identity, deployment, and costs as the baseline for a Loams migration. Use at the start of adoption or when a system is missing from the inventory.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    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:

    Do not assume production access.

    line 28
  2. Distinctive:

    Use this table shape:

    line 55
  3. Distinctive:

    Do not put credentials, customer names, or raw PII in the inventory.

    line 62

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Stack inventory

You cannot decide what Loams replaces until you know what exists and who owns it.

When to use

  • Stage 0 of adoption.
  • A new team, region, or acquisition is added to scope.
  • A migration plan references a system that is not in the inventory.

Inputs

  • Repository access, IaC (OpenTofu/Terraform/CloudFormation), Kubernetes manifests, compose files, CI configs, runbooks.
  • Architecture diagrams and on-call rotations.
  • Cloud billing exports and database metrics, if available.

Do not assume production access. Prefer code and documents; ask for read-only metrics only when needed.

Procedure

  1. List services. For each: name, owner, language, runtime, repo, deployment target, criticality, SLO, data stores, upstream/downstream calls.
  2. List data. For each store: engine and version, size, growth, schema owner, retention, PII classification, backup/restore, consumers.
  3. List workflows. Queues, schedulers, cron, sagas, durable executions, webhooks, batch jobs.
  4. List identity and access. IdP, human roles, machine users, service accounts, secrets, key management.
  5. List observability and cost. Logs, metrics, traces, dashboards, alerts, monthly spend per service and store.
  6. Classify. rewrite, keep, bridge, retire, or unknown. Unknown is allowed now; it becomes a blocker at the fit gate.
  7. Record risks. Vendor lock-in, end-of-life versions, single points of failure, missing backups, unowned services.

Outputs

  • company/stack-inventory/inventory.md — service table.
  • company/stack-inventory/data-map.md — store table and data flows.
  • company/stack-inventory/risk-register.md — risk, impact, owner, mitigation.
  • Optional company/stack-inventory/costs.md.

Use this table shape:

ServiceOwnerLanguageRuntimeCriticalityData storesSLODisposition

Guardrails

  • Do not put credentials, customer names, or raw PII in the inventory.
  • A service with no owner is a finding, not a reason to skip it.
  • "Unknown" data classification is a blocker for migration of that store.

References

  • Migration playbook
  • Design 01: architecture

Download now (ZIP)

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.