Windsurfrules, Clinerules & Copilot-Instructions Slimmer

v1.8.0
io.github.oneandroid-max/windsurfrules-copilot-instructions Checked 17 hours ago Published 2 days ago

Scan .windsurfrules, .clinerules & copilot-instructions.md for token burn and hidden Unicode.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

contextguard_audit_markdown

Audits AGENTS.md, .cursorrules, or project boot markdown for startup token bloat, duplicate rules, and context-compaction loop risk.

ParameterTypeDescription
content *stringRaw markdown or instruction file text to audit.
fileNamestringOptional filename (e.g. AGENTS.md or .cursorrules).
windowTokensnumberModel context window size in tokens (default 200000).

contextguard_slim_boot_card

Compiles an oversized instruction file into a deterministic <5 KB START.md boot card to cut startup token burn by 60%-80%.

ParameterTypeDescription
content *stringRaw instruction file text to compress into a <5 KB START.md boot card.
maxBytesnumberTarget byte budget <= 5000 (default 4800).

bidradar_search_public_bids

Searches live public-sector RFPs, sub-threshold P-Card micro-purchases, and ADA Title II PDF/WCAG opportunities scored for 100% written/async eligibility.

ParameterTypeDescription
categorystringOptional bid category filter.
proKeystringOptional Second Foreman SC1. Pro license key to unredact buyer emails and unlock up to 50 results.
querystringOptional keyword search (e.g. pdf remediation, website redesign, software).
statestringOptional two-letter US state code (e.g. OK, TX, WA, CO).

epa608_2026_reference_lookup

Looks up 2026 EPA Section 608 (40 CFR Part 82) & AIM Act A2L (40 CFR Part 84) recovery vacuum tables, 15-lb HFC leak-repair thresholds, and R-454B/R-32 cylinder rules.

ParameterTypeDescription
topicstringRegulatory reference table to retrieve.

ada_estimate_pdf_ua_remediation

Calculates DOJ ADA Title II (28 CFR Part 35 April 24, 2026 / April 26, 2027), WCAG 2.1/2.2 AA, and ISO 14289-1 (PDF/UA-1) / Section 508 PDF remediation costs and P-Card micro-purchase thresholds.

ParameterTypeDescription
acroFormCountnumberNumber of fillable AcroForm PDFs requiring /TU tooltips and tab order (default 5).
avgPagesPerPdfnumberAverage pages per PDF document (default 5).
entityTierstringPublic entity compliance tier (default pop_50k_plus).
pdfCountnumberNumber of public PDF documents (default 100).
scannedSharePctnumberPercentage (0-100) of scanned image-only pages requiring OCR (default 20).
webTemplateCountnumberNumber of distinct web page templates audited for WCAG 2.1/2.2 AA (default 6).

ada_audit_public_webpage

Performs a live read-only WCAG 2.2 AA, Section 508, and linked-PDF exposure quick audit on any public https:// webpage (checks html lang, title, H1 hierarchy, missing image alt text, untitled iframes, CSP, and linked .pdf inventory).

ParameterTypeDescription
url *stringPublic https:// URL to inspect for WCAG 2.2 AA & PDF/UA-1 exposure.
proKeystringOptional Second Foreman SC1. Pro license key to unlock full discovered PDF inventory (up to 500 URLs).

epa608_calculate_leak_rate

Calculates 2026 EPA 40 CFR § 84.106 (>= 15 lb HFC / A2L R-454B, R-32, R-410A, R-404A, R-134a) and 40 CFR § 82.157 (>= 50 lb ODS) Annualizing & Rolling-Average leak rates, 30/120-day repair clocks, and >= 1,500 lb ALD requirements.

ParameterTypeDescription
addedNowLbs *numberPounds of refrigerant added during this service event.
chargeLbs *numberFull circuit refrigerant charge in pounds (lbs).
addedRolling365LbsnumberTotal pounds added across the rolling 365-day window (defaults to addedNowLbs).
categorystringAppliance category (10% comfort cooling, 20% commercial refrig, 30% IPR).
daysSinceLastAddnumberDays elapsed since previous refrigerant addition or installation (capped at 365).
refrigerantstringRefrigerant blend or compound (default R-454B).
shutdownRequiredbooleanTrue if repair requires an industrial process shutdown (extends repair window to 120 days).

govcon_calculate_gpc_unison_margin

Calculates Unison Marketplace (<= 3.93% GSA GS-35F-131GA fee) and Federal Government Purchase Card (FAR 13.2 $15,000 micro-purchase + Stripe 2.9% + $0.30 on gross award) net profit, FOB Destination margin, and floor-safe seller bid.

ParameterTypeDescription
sellerBidUsd *numberSeller bid in USD before Unison buyer-funded fee.
supplierCogsUsd *numberWholesale distributor COGS in USD (0 for digital/508 services).
minProfitUsdnumberMinimum cleared net profit floor in USD (default 1500).
paymentMethodstringSettlement rail (default GPC_CARD).
shippingFobDestUsdnumberFOB Destination freight and liftgate cost in USD (default 0).
targetMarginPctnumberMinimum target net margin percentage (default 20).
unisonFeePctnumberUnison Marketplace fee percentage 0 to 3.93 (default 3.0; 0 for direct SAM.gov/State P-Card).

ada_inspect_public_pdf_ua

Fetches a public https:// PDF file (SSRF-hardened, 2 MB stream cap) and inspects its binary and /FlateDecode object streams against ISO 14289-1 (PDF/UA-1), WCAG 2.1 AA, and 28 CFR Part 35 (/Marked true, /StructTreeRoot, pdfuaid:part=1, /Lang, /DisplayDocTitle, scanned OCR vs born-digital fonts, and page count).

ParameterTypeDescription
url *stringPublic https:// URL of a PDF document to inspect.
proKeystringOptional Second Foreman SC1. Pro license key to unlock the full step-by-step ISO 14289-1 remediation manifest.

contextguard_scan_public_repo

Scans a public GitHub repository (owner/repo) for instruction files (AGENTS.md, .cursorrules, .windsurfrules, .clinerules, .github/copilot-instructions.md), measures startup token burn and hidden bidi/zero-width Unicode prompt-injection risks, and compiles a <5 KB START.md boot card.

ParameterTypeDescription
repo *stringPublic GitHub repository slug in owner/repo format (e.g. oneandroid-max/contextguard-mcp).
proKeystringOptional Second Foreman SC1. Pro license key to unlock the full compiled <5 KB START.md output.

ada_inspect_acroform_and_vpat

Fetches a public https:// PDF document (SSRF-hardened, 2 MB stream cap, /FlateDecode inflation), audits interactive /AcroForm fields (/FT /Tx, /Btn, /Ch, /Sig), /TU accessible tooltips, /Tabs /S focus order, <Form> tags, and barred /XFA streams against ISO 14289-1 §7.18, Revised Section 508, HHS Section 504 (91 FR 25496), DOJ ADA Title II, and Colorado HB21-1110, computes exact fillable-form remediation pricing, and generates a 14-criterion ITI VPAT 2.5 Automated Technical Self-Assessment Draft.

ParameterTypeDescription
url *stringPublic https:// URL of a PDF form or document to inspect.
proKeystringOptional Second Foreman SC1. Pro license key to unlock all 14 VPAT 2.5 criteria and full markdown/CSV output.
productNamestringOptional product or form title for the VPAT 2.5 header.

ada_audit_eaa_en301549

Audits any public https:// webpage or PDF document (SSRF-hardened) against the European Accessibility Act (Directive (EU) 2019/882) and EN 301 549 (v3.2.1 OJEU & ETSI v4.1.1 2026-09 WCAG 2.2 AA, Clause 9 Web & Clause 10 Non-Web Documents), and generates an EAA Annex V Automated Technical Self-Assessment Statement.

ParameterTypeDescription
url *stringPublic https:// webpage or PDF URL to inspect for EAA / EN 301 549 compliance.
contactEmailstringOptional accessibility feedback email for the EAA Annex V statement.
orgNamestringOptional service provider or organization name for the EAA Annex V header.
proKeystringOptional Second Foreman SC1. Pro license key to unlock all 16 EN 301 549 clauses, full Annex V markdown, and CSV matrix.

epa608_calculate_superheat_subcooling

Calculates 2026 HVAC R-454B, R-32 (Class A2L), R-410A, and R-22 evaporator dew-point superheat, condenser bubble-point subcooling, zeotropic temperature glide, ACCA fixed-orifice target superheat, and US Standard Atmosphere elevation corrections using NIST REFPROP 10 / Chemours P-T tables.

ParameterTypeDescription
liquidLineTempF *numberMeasured liquid line temperature in °F.
liquidPsig *numberHigh-side liquid line gauge pressure in psig.
suctionLineTempF *numberMeasured suction line temperature in °F.
suctionPsig *numberLow-side suction gauge pressure in psig.
elevationFtnumberSite elevation above sea level in feet (default 0).
indoorWetBulbFnumberIndoor return-air wet-bulb temperature in °F (default 63).
meteringDevicestringMetering device type: txv (charge by subcooling) or fixed_orifice (charge by target superheat).
outdoorDryBulbFnumberOutdoor condenser ambient dry-bulb temperature in °F (default 85).
proKeystringOptional Second Foreman SC1. Pro license key to unlock downloadable commissioning CSV output.
refrigerantstringRefrigerant blend or compound (default R-454B).
targetSubcoolingFnumberOEM nameplate target subcooling in °F for TXV/EEV (default 10).

ada_triage_28cfr35_exceptions

Evaluates DOJ ADA Title II Subpart H (28 CFR §§ 35.104, 35.201(a)-(e), 35.204, 35.205 & 91 FR 20902 April 26, 2027 / April 26, 2028) statutory exceptions (4-condition Archived Web Content, Preexisting Conventional Docs, Independent Third-Party Content, Individualized Password-Protected Docs, Preexisting Social Posts), checks 28 CFR § 35.204 Undue-Burden procedural completeness & § 35.205 4-factor minimal-impact equivalence, and computes active PDF/UA-1 remediation budgets (operational triage worksheet — not legal advice).

ParameterTypeDescription
contentCategory *stringContent category under 28 CFR § 35.201(a)-(e) or active web/app.
acroFormCountnumber
allProgramResourcesConsideredboolean
avgPagesPerDocnumber
createdBeforeComplianceDateboolean
docCountnumber
easeOfUseEquivalentboolean
entityNamestringPublic entity or department name.
entityTierstring28 CFR § 35.200(b) population / jurisdiction tier.
evaluate35204UndueBurdenboolean
evaluate35205MinimalImpactboolean
headOfEntityOrDesigneeNamedboolean
independenceEquivalentboolean
individualSpecificboolean
maximumExtentAlternativeActionDefinedboolean
passwordOrLoginProtectedboolean
postedByIndependentThirdPartyboolean
privacyEquivalentboolean
proKeystringOptional Second Foreman SC1. Pro license key to unlock the full § 35.204 written statement draft (.md) and inventory log (.csv).
retainedExclusivelyForReferenceboolean
scannedSharePctnumber
storedInClearlyIdentifiedArchiveboolean
timelinessEquivalentboolean
unalteredSinceArchivingboolean
underContractOrArrangementboolean
usedForActiveServiceOrProgramboolean
writtenStatementOfReasonsPreparedboolean

ada_score_state_procurement_pdaa

Scores vendor ICT accessibility bid readiness across Texas DIR 1 TAC Ch. 206 & 213 (6-criterion PDAA self-assessment, 6-section VADSIR dev questionnaire, >$500k third-party testing gate), Washington WaTech USER-01 WCAG 2.2 AA, Virginia HB2541, and Colorado HB21-1110.

ParameterTypeDescription
targetState *stringTarget state ICT procurement accessibility regime.
avgPagesPerPdfnumberOptional average pages per PDF (default 5).
contractValueUsdnumberEstimated contract or RFO ceiling in USD.
hasVpat25booleanTrue if a current ITI VPAT 2.4+ / 2.5 ACR is completed.
includesCotsOrSaasbooleanTrue if COTS software or SaaS products are in scope.
includesDevServicesbooleanTrue if web, mobile, custom UI, or software development services are in scope.
pdaaCorrectiveProcessnumberPDAA Criterion 4 (Defect & Alternate-Access Process): 0..3.
pdaaOrgStructurenumberPDAA Criterion 2 (Governance & Org Structure): 0..3.
pdaaPolicynumberPDAA Criterion 1 (ICT Accessibility Policy): 0=Missing, 1=Launch, 2=Integrate, 3=Optimize.
pdaaPublicInfonumberPDAA Criterion 6 (Customer-Facing Policy & ACR Info): 0..3.
pdaaSdlcIntegrationnumberPDAA Criterion 3 (SDLC & Procurement Integration): 0..3.
pdaaStaffSkillsnumberPDAA Criterion 5 (Staff Accessibility Skills & Training): 0..3.
proKeystringOptional Second Foreman SC1. Pro license key to unlock the full PDAA + 6-Section VADSIR .md packet and .csv scoring matrix.
thirdPartyTestingPlannedbooleanTrue if independent third-party accessibility testing is planned/budgeted.
untaggedPdfCountnumberOptional count of untagged proposal or product PDFs requiring PDF/UA-1 remediation.
vadsirPreparedbooleanTrue if a 6-section VADSIR narrative is prepared.
vendorNamestringBidder or vendor organization name.
wcagTargetTestedstringWCAG conformance baseline tested across deliverables.

epa608_calculate_a2l_room_charge_limit

Calculates UL 60335-2-40 (4th Ed. Annex GG & LL) and ASHRAE 15-2022 / 15.2 Class A2L refrigerant room-area limits (ducted TAmin Eq. GG.15DV & non-ducted Amin Annex GG.2), total single-circuit charge (factory + extra line set), mandatory RDS circulation airflow (Qmin CFM Eq. GG.17DV), motorized zoning damper isolation checks, and high-altitude AF multipliers for R-454B, R-32, R-454A, R-454C, R-1234yf, and R-1234ze(E).

ParameterTypeDescription
refrigerant *stringClass A2L refrigerant (default R-454B).
actualMitigationCfmnumberConfigured indoor circulation blower RDS mitigation airflow in CFM (>= 0).
conditionedAreaFt2numberTotal conditioned floor area served by the system in sq ft (> 0).
elevationFtnumberJobsite elevation above sea level in ft (>= 0, default 0).
extraOzPerFtnumberAdded liquid line-set trim factor in oz/ft (>= 0, default 0.6).
factoryChargeLbnumberCondenser factory nameplate charge in lb (> 0).
factoryPrechargeFtnumberFactory precharged line-set length in ft (>= 0, default 15).
hasFalseCeilingReturnPlenumbooleanTrue if an unducted false-ceiling return air plenum is used.
hasLowDuctOpeningUnder5_9FtbooleanTrue if any supply/return opening is < 5.9 ft (1.8 m) above the floor.
hasRdsInstalledbooleanTrue if an integral UL 60335-2-40 Annex LL Refrigerant Detection System (RDS) is installed.
hasZoneDampersbooleanTrue if motorized zone dampers are installed on supply trunks.
proKeystringOptional Second Foreman SC1. Pro license key to unlock the full 8-gate commissioning .md permit sheet and .csv schedule.
projectOrSiteNamestringOptional jobsite, RTU, or split-system identifier.
rdsOpensAllZoneDampersbooleanTrue if the zone control board drives all dampers 100% open upon RDS alarm.
releaseHeightPresetstringNon-ducted indoor release height h0 preset (floor=0.6m, window=1.0m, wall=1.8m, ceiling=2.2m).
smallestZoneAreaFt2numberSmallest isolated zone floor area in sq ft (> 0) when motorized zone dampers are present.
systemTypestringAir distribution type: ducted (TAmin Eq. GG.15DV) or non_ducted (Amin Annex GG.2).
totalLineSetFtnumberTotal installed liquid line-set length in ft (>= 0, default 15).