arch-req-from-api
Skill15 starsChanged 51 days agoMITView on GitHub
Fetch application metadata from CMDB (ServiceNow, etc.) or Enterprise Architecture systems via REST API or CSV export. Provides high-confidence physical location and ownership data. Emits req/v2 `systems` rows plus de-duplicated `infra` nodes, and additionally `components` / `stacks` / `deployments` when the CSV carries a technology stack. Does NOT provide protocols or auth — those must come from other readers or the interview. Use before arch-req-merge.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- axisrobo/ea-harnessword for word, first seen Sep 25, 2026
Other versions1 project uses a version of this.
Word for word · 1
- axisrobo/ea-harness★ 15100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
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 repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- arch-designSkill
- arch-diagramSkill
- arch-enforceSkill
- arch-optimizeSkill
- arch-reportSkill
- arch-req-from-diagramSkill
- arch-req-from-docSkill
- arch-req-mergeSkill
- arch-requirementsSkill
- arch-reviewSkill
- arch-securitySkill
- arch-validateSkill
- arch-workflowSkill
- arch-designSkill
- arch-diagramSkill
- arch-enforceSkill
- arch-optimizeSkill
- arch-reportSkill
- arch-req-from-apiSkill
- arch-req-from-diagramSkill
- arch-req-from-docSkill
- arch-req-mergeSkill
- arch-requirementsSkill
- arch-reviewSkill
- arch-securitySkill
- arch-validateSkill
- arch-workflowSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
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
- Distinctive: line 103
If the user cannot connect to their CMDB, guide them to:
- Distinctive: line 105
Use the CSV import option above
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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.
Files
Locating shared resources. References in this file to
standards/,tools/,config.yaml, andtemplates/are relative to the ArchHarness resource root. Determine the root, in order: (1) theARCHHARNESS_HOMEenvironment variable, (2) the output ofpython -m archharness root(the pip-installed package bundles these resources under itsdatadirectory), (3) the current working directory when it already containsconfig.yamlandtools/(the repository checkout). Prefix shared paths with that root whenever the working directory is not the resource root.
You are an integration specialist connecting to CMDB and EA systems. CMDB provides authoritative physical location and ownership data. It does NOT contain tech stack, protocols, or authentication details.
What CMDB/EA systems typically provide
| Field | Available in CMDB | Confidence |
| Application name | ✓ | High |
| Data center / location | ✓ | High |
| Application owner | ✓ | High |
| Department / BU | ✓ | High |
| Environment (prod/test) | ✓ | High |
| Technology category | Sometimes | Medium |
| Language/framework | Rarely | Low |
| Integration protocols | ✗ | N/A |
| Auth mechanisms | ✗ | N/A |
ServiceNow CMDB
cd tools/arch-req-readers
# Set environment variables
export SERVICENOW_URL=https://your-company.service-now.com
export SERVICENOW_USER=your_username
export SERVICENOW_PASSWORD=your_password
# Fetch specific applications
python from_api.py --profile servicenow --app-id OMS-001 PORTAL-002 -o partial-cmdb.yaml
# Fetch all applications in CMDB
python from_api.py --profile servicenow -o partial-cmdb.yamlGeneric REST API
# Custom field mapping via config file
python from_api.py --profile generic --config cmdb_config.json --app-id MY-APP -o partial.yamlConfig file format (cmdb_config.json):
{
"description": "Our internal EA system",
"base_url_env": "EA_SYSTEM_URL",
"auth_type": "bearer",
"auth_env": ["EA_SYSTEM_TOKEN"],
"endpoints": {
"applications": "/api/v1/applications"
},
"field_map": {
"app_name": "displayName",
"app_id": "applicationId",
"owner": "businessOwner.email",
"department": "businessUnit",
"location": "deploymentLocation",
"platform": "hostingType"
},
"query_params": {
"status": "active"
}
}CSV import (CMDB export)
Many CMDB systems allow CSV export. Supported columns:
name,app_id,dc_or_region,country,platform,zone,owner,infra_owner,language,framework,runtime
OrderMgmt,OMS-001,Hohhot DC,CN,private_dc,App Zone,SSG Team,InfraSec,Java,Spring Boot,Internal K8spython from_api.py --csv cmdb_export.csv -o partial-csv.yamlWhen API is unavailable
If the user cannot connect to their CMDB, guide them to:
- Export a CSV from CMDB manually
- Use the CSV import option above
- Or manually provide the application registry as a YAML list
Manual application registry format (req/v2 partial — references are names):
systems:
- name: {value: "Order Management System"}
type: {value: "existing"}
owner: {value: "org_it"}
infra:
- name: {value: "Neimeng DC (Hohhot)"}
node_kind: {value: "data_center"}
infra_type: {value: "private_cloud"}
network_type: {value: "prod_network"}
parent: {value: "Neimeng DC (Hohhot)"}
country: {value: "CN"}
infra_owner: {value: "InfraSec"}
deployments:
- component: {value: "Order Service"}
environment: {value: "prod"}
deployment_type: {value: "private_cloud"}
location_type: {value: "data_center"}
infra: {value: "Neimeng DC (Hohhot) / App Zone"}
runtime_type: {value: "container"}Always note after API extraction
CMDB data is authoritative for location/ownership but DOES NOT replace the requirements interview for: protocols, authentication, tech stack details, data encryption, and user authentication.
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.

