Automation inventory
Use this skill when a company does not know everything that runs on its behalf, or must decide what to keep: "list all our automations", "what integrations do we have", "find shadow automations", "who owns this workflow", "the builder left, what breaks", "prepare for the audit", "consolidate our automation tools", "clean up old workflows". Produces a register of every automation with its owner, the identity and credentials it runs as, its blast radius and bus factor, and a keep, fix, merge or retire decision for each, approved by the owners before anything is changed.
By- name:
- automation-inventory
- description:
- Use this skill when a company does not know everything that runs on its behalf, or must decide what to keep: "list all our automations", "what integrations do we have", "find shadow automations", "who owns this workflow", "the builder left, what breaks", "prepare for the audit", "consolidate our automation tools", "clean up old workflows". Produces a register of every automation with its owner, the identity and credentials it runs as, its blast radius and bus factor, and a keep, fix, merge or retire decision for each, approved by the owners before anything is changed.
Applies before an audit or a platform consolidation, after an incident caused by an automation nobody knew about, and when a builder leaves. Produces a register that names a person for every automation and a decision for each one.
The play
- Search where automations leave traces, not where people say they are. The full checklist is in
references/discovery-sources.md.- Every automation platform account and workspace, including personal and free accounts opened with a company email.
- The connected apps and granted access in each core system: customer records, email, file storage, finance, HR, support. Third-party apps holding tokens are the best detector of shadow automations.
- API keys, integration users, and audit log entries made by non-human identities.
- Webhooks and outbound integrations configured inside each system.
- Scheduled jobs on servers, scripts in code repositories and shared drives, spreadsheet scripts and macros, mail rules that forward or auto-reply.
- Card and invoice spend on automation and integration subscriptions.
- Then ask every team: "what happens in your work that nobody clicks?" The list commonly grows by half again after this step.
- Record each one in the register: what it does in one line, trigger, systems read and written, owner, builder, the identity it runs as, last successful run, runs per month, failure rate over 30 days, where its alerts go, and the business process it serves.
- Score the blast radius on four questions: how many records or people it touches per run, whether its writes can be undone, how soon a failure would be noticed, and whether it reaches outside the company (customers, suppliers, money, public content). The rubric is in
references/register-and-decisions.md. - Find the bus factor. How many people could explain and fix it today? One is a risk. Zero is an orphan. An automation running under a person's own account is critical twice over: it breaks when they leave, or keeps running with their access after they have gone.
- Check the credentials. Personal tokens, shared passwords, admin scope where read access would do, tokens that never expire, tokens of people who have left. Do not test or use any credential you find. Record where it is and tell the owner of that system.
- Decide for each automation:
- Retire when nothing has run successfully in 90 days, or nobody consumes the output. Confirm with the consumer, not only the owner.
- Merge when two or more act on the same trigger or write the same records. Two automations writing one field is a race, not redundancy.
- Fix when it is valuable but has a bus factor of 1, a personal credential, no alerts, no owner, or a failure rate above 5%.
- Keep when it has an owner, alerts, a service identity, a written description and a clean last 30 days.
- Get approval before changing anything. Present the decisions to each owner, and orphans to the owner of the business process. Retire in two stages: turn it off, announce it, and wait 2 to 4 weeks before deleting, with the definition archived. Map what depends on a credential before revoking it, or you cause the outage you were preventing.
- Rank the risks. Blast radius times ownership risk. The top ten fit on one page for leadership, each with an owner and a date.
- Keep it alive. Register every new automation before it is turned on. Add "automations running as this person" to the leaver checklist. Review the register every quarter: owners still employed, credentials, failure rates, anything unused for 90 days.
What good looks like
- The tell: the best lead starts with token grants and audit logs, because they show what runs whether or not anyone remembers building it.
- The common mistake: a spreadsheet filled in from a survey, with "IT" as the owner of everything and no column for credentials. It is out of date within weeks and misses exactly the automations that cause incidents.
- The quiet miss: retiring on a scream test alone. Switching off a monthly or quarterly job hears no scream until it is too late. Check the schedule and the consumer first.
- Good output: every row names a person, the identity it runs as, a blast radius and a decision, and the top risks are on one page with owners and dates.
Rules
- MUST name a person as owner of every automation, or mark it orphaned.
- MUST record the identity and credential type each automation runs as.
- MUST get the owner's approval, or the process owner's for an orphan, before turning anything off.
- MUST turn off and announce before deleting, and archive the definition.
- NEVER use, test or copy a credential found during discovery.
- NEVER revoke a credential before mapping what depends on it.
Open this reference as its own page
Work through the sources in this order. The first ones find what exists whether or not anyone remembers it. The interviews come last, to explain what you found and to catch the rest.
1. Granted access in core systems
For each system that holds customer, financial, employee or product data, open its list of connected apps, granted tokens and integration users. Record for each:
- the app or integration name and who granted it
- the scopes it holds (read, write, admin)
- when it was granted and when it was last used
- whether the person who granted it still works here
An app with write scope, granted by someone who has left, used in the last week, is an automation running on a departed person's authority. Put it at the top of the list.
2. Audit logs by non-human actors
In each core system, filter the audit log to the last 30 days and group actions by actor. Look for:
- actors named like "integration", "api", "sync", "bot", "service" or a shared mailbox
- a person's account acting at the same minute every hour, or through the night
- bursts of identical changes across many records within seconds
- records created with a source field that points to an outside app
3. Automation platform accounts
- Every workspace of every automation platform the company pays for, including the ones a single team bought.
- Personal and free-tier accounts opened with a company email address. The platforms' admin or domain views often list them, and expense reports show the paid ones.
- For each automation: on or off, last run, run count, the connections it uses and whose they are.
4. Configured outbound integrations
Inside each system, open the webhook and outbound integration settings. Every registered destination is something that receives company data. Record the destination, what is sent, and who set it up. A destination nobody can name is a security finding, not just an inventory line.
5. Code and scripts
- Scheduled jobs on servers and in cloud schedulers.
- Repositories with scripts that call internal or external systems, especially ones with no recent commits but recent runs.
- Scripts and macros attached to spreadsheets and documents.
- Scripts on shared drives and on the laptops of known power users, found by asking, not by searching their machines.
6. Mail and calendar rules
Forwarding rules, auto-replies and filters that move or send mail, in shared mailboxes first. A rule forwarding a shared mailbox to an outside address is an exfiltration risk and goes straight to the security owner.
7. Spend
Card transactions and supplier invoices for automation, integration, scraping, data enrichment and AI tools. A small monthly charge on one person's card is often the only trace of a team's automations.
8. Team interviews
Ask each team lead, and one person who does the daily work:
- What happens in your work that nobody clicks?
- What would break if a specific colleague were away for a month?
- Which reports, emails or records appear on their own?
- What did someone build to save time that everyone now relies on?
- Have you ever had to ask someone to "turn it back on"?
Show them what you already found for their team. People recognize faster than they recall.
Signs of an unregistered automation
- A field that fills in by itself, always at the same time.
- Emails sent from a person's address at exact intervals, or while they are on leave.
- A spreadsheet column nobody types into that stays up to date.
- Duplicate records that appear in pairs, seconds apart: two automations doing the same job.
- A status that flips back and forth on the same record within a minute: two automations disagreeing.
Open this reference as its own page
Register fields
| Field | Notes |
|---|---|
| Id and name | A stable id, plus the name people use |
| What it does | One line, a verb and an object |
| Trigger | Event, schedule (with time zone), poll interval, or manual |
| Reads from / writes to | Each system, with read or write |
| Process served | The business process and its owner |
| Owner | A person, never a team. Blank means orphaned |
| Builder | Who built it, and whether they are still here |
| Runs as | Service identity, a person's account, a shared account |
| Credential type and scope | Token, key, password; read, write, admin; expiry |
| Last successful run | From the run history, not from memory |
| Runs per month, failure rate over 30 days | From the run history |
| Alerts go to | A person or channel that is read today |
| Bus factor | People who could explain and fix it today |
| Blast radius | Score from the rubric below |
| Decision | Keep, fix, merge, retire, with a date and approver |
Blast radius rubric
Score each question 0 to 3.
| Question | 0 | 1 | 2 | 3 |
|---|---|---|---|---|
| Reach per run | Under 10 records, internal | 10 to 100 | 100 to 1,000 | Over 1,000, or master data |
| Reversibility | Read only | Writes easily undone | Undone with effort | Irreversible: sends, payments, deletions |
| Time to notice a failure | Within an hour | Within a day | Within a week | Only at month-end or audit |
| External exposure | Internal only | Partner or supplier data | Customers see it | Money or regulated data |
Total out of 12: 9 or more is high, 5 to 8 medium, 4 or less low.
Ownership risk and ranking
- Ownership multiplier: bus factor 2 or more: x1. Bus factor 1: x2. Orphaned: x3.
- Personal credential: add 3 to the result, because it fails on the day that person leaves and may keep their access alive after it.
- Risk score = blast radius x ownership multiplier, plus 3 for a personal credential.
- Anything scoring 20 or more is fixed this month, 10 to 19 this quarter, and under 10 at the next quarterly review.
Decision table
| Decision | When | First action | Approval |
|---|---|---|---|
| Retire | No successful run in 90 days, or no one consumes the output | Confirm with the consumer, then turn off and announce | Owner, or process owner for an orphan |
| Merge | Same trigger or same records as another automation | Choose the survivor, move the missing logic, then retire the other | Both owners |
| Fix | Valuable, but bus factor 1, personal credential, no alerts, no owner, or failure rate above 5% | Assign an owner, move to a service identity, route alerts, write a one-page description | Owner |
| Keep | Owner, alerts, service identity, description, clean 30 days | Review next quarter | None |
Retiring is always two steps: off and announced, then deleted after 2 to 4 weeks with the definition archived. For anything that runs monthly or quarterly, wait through one full cycle.
Worked case: four automations at a 300-person company
A. New deal creates a delivery project. Runs as the sales operations manager's own account. 400 runs a month, 2% failures, bus factor 1. Blast radius: reach 1, reversibility 1, notice 1, exposure 0 = 3. Risk: 3 x 2 + 3 = 9. Fix: move it to a service identity, route alerts to the delivery lead, have a second person walk through it.
B. Nightly customer sync into billing. A scheduled script on a server. The author left 8 months ago. It writes about 3,000 records a night, and its failure emails go to the departed author's closed mailbox. Blast radius: 3 + 2 + 3 + 3 = 11. Risk: 11 x 3 = 33. Fix, this week. The finance lead becomes the owner, alerts are routed to finance operations, and the script is documented. Not retired: billing depends on it every night.
C. Two automations set lead status from form submissions, one built by marketing and one by sales. 12% of new leads changed status twice within a minute, and sales reported leads "disappearing" from their queue. Merge: the sales version survives because sales owns the field. The marketing logic for event sign-ups moves into it, and the marketing version is turned off, announced, and deleted after 4 weeks.
D. A weekly summary email to a leadership group. 3 of the 5 recipients have left. The two remaining say they do not read it. Retire: turned off and announced to the two recipients. Deleted after 4 weeks, definition archived.
One-page risk summary
For leadership, one table, at most ten rows, sorted by risk score:
| Automation | What it does | Why it is a risk | Score | Owner | Action | Due |
|---|
Under the table, three numbers: total automations found, the share with a named owner, and the share running under a service identity. Track those three every quarter.
More in this playbook
Make credential requests
Use when an agent needs a Make connection or key, or approved authorization repair, for Endpoints or custom-app testing. Guides owner authorization in Make and hands back managed connection or key IDs, never raw secrets. No scenario required.
SecurityMITInstruction surface security
Hardens agent runtimes against persistent prompt injection or unauthorized changes to instructions and permissions. Use to audit what agents auto-load, design reviewed activation for project rules, skills, memory, or tool configuration, and test whether trust boundaries hold after reload, restart, or delegation.
SecurityMITAgent config audit
Read-only audit of everything a repository's coding-agent config can run on its own - Claude Code hooks, status lines and helper commands, MCP servers, Codex and Cursor hooks, Gemini CLI settings, VS Code folder-open tasks, plugin marketplaces, permission allow rules, MCP auto-approval, and skills that run inline shell - plus the project's dependencies (missing lockfiles, known-poisoned releases, code-running .pth files), secrets saved in settings.local.json or pasted into stored Claude Code and Codex conversations, and known-bad editor extensions. Explains each risky entry in plain words and how to fix it, and never prints secret values. Use when the user says "audit my agent config", "what runs when I open this repo", "check my repos for malicious hooks", "is this repo safe to open", before trusting or opening a cloned repo, after pulling changes to .claude, .mcp.json, .codex, .cursor or .vscode, or after a supply-chain incident.

