{"uid":"cap_INqB7-vHp6R7Eidf68zly","slug":"dep-halowerk-com-install-footprint-calculator-09f4a232","name":"dep.halowerk.com Install Footprint Calculator","description":"Totals caller-measured installed file sizes and file counts. Missing facts are returned as null and named in unavailable_fields where applicable. Derived values disclose their method; source-backed values disclose source, time window and age. ","url":"https://dep.halowerk.com/v1/install-footprint","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"files":{"type":"array","items":{"type":"object","required":["path","bytes"],"properties":{"path":{"type":"string","maxLength":512,"minLength":1,"description":""},"bytes":{"type":"integer","maximum":1000000000000,"minimum":0,"description":""}},"additionalProperties":false},"maxItems":100000}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_S9b1FuS5pb_8DBwhi0pQt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Aggregates caller-supplied file paths and byte sizes to compute total installed file size and file count for a package or software installation.","exampleAgentPrompt":"Can you calculate the total installed size and file count for these files from the lodash package installation? The files are: node_modules/lodash/lodash.js at 531000 bytes, node_modules/lodash/package.json at 1200 bytes, and node_modules/lodash/README.md at 8500 bytes.","exampleUseCases":[{"title":"Audit package disk footprint","prompt":"I have a list of files installed by the requests Python package — 47 files ranging from a few hundred bytes to 200 KB each. Can you total up the installed size and file count so I can see its full disk footprint?"},{"title":"Compare installation sizes of two libraries","prompt":"I want to compare how much disk space react and preact take up. Here are all the file paths and byte sizes from each installation — can you compute the total installed size and file count for each?"},{"title":"CI size budget enforcement","prompt":"Before we merge this PR, can you check whether the total installed size of our new dependency exceeds 50 MB? Here are all 312 files it installs with their sizes in bytes."}],"resultDescription":"Returns the sum of all supplied file byte sizes as total installed size, the count of files provided, and a disclosure of the derivation method. Any facts that could not be computed are returned as null and listed in unavailable_fields.","failureModes":["File array exceeds 100,000 item limit — request rejected","Individual file byte value exceeds 1 TB maximum — validation error","Missing required 'bytes' or 'path' field on a file entry — schema validation failure","Empty files array returns zero totals","Non-integer byte values cause schema rejection"],"whenToPreferThis":"Choose this endpoint when you have already measured or collected file sizes locally and need a reliable, auditable aggregation with transparent method disclosure. It is specifically designed for dependency/install footprint analysis as part of the dep.halowerk.com suite, so it integrates naturally with other endpoints on that platform for package health scoring. Prefer it over generic math or scripting when you need structured output with null-field transparency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:48:17.767Z","isFirstParty":false}