joecastelino
@joecastelino
Public Skills
tekion-add-job-to-ro-button-disabled
by joecastelino
Diagnose "I can't add opcode X to RO #NNNNNN" / the "Add To RO" button is greyed out with no error message in Tekion. Root cause is almost always the RO Approval Flow "Paytype Rules" setting, NOT the opcode, the RO, or a permission.
tekion-browser-automation
by joecastelino
Log into Tekion DMS via browser automation or Puppeteer, retrieve OTP from Gmail IMAP, navigate to modules, switch dealerships, and update opcode pricing (Fixed Price labor rates, add parts, save). Covers Ant Design dropdown patterns, scrollable containers, and the complete opcode edit workflow.
install-agent-bridge-into-peer
by joecastelino
Make ANOTHER AMG agent (e.g. Autumn, Don, Ralph) able to message Jay/peers DIRECTLY from their own sessions — not just be reachable BY Jay. Installs the ask-agent bridge helper + a MEMORY.md entry into the target agent's profile so the capability is discoverable in their real chats. Use when Joe says "set up a pipeline between <agent> and Jay" or "<agent> needs to talk to you".
tekion-opcode-default-pricing
by joecastelino
Set Default-tab labor pricing and add parts to a Tekion opcode in the opcodeManagementV2 UI. Covers reaching the edit page, the V2 flat-form layout, setting the dollar rate via the Customer/Manufacturer spinbuttons, adding parts via react-select (bare-number-first search), and the incremental Save Draft pattern that the browser tool requires. This is the SIMPLE common case — for vehicle/part override rows use tekion-opcode-overrides.
tekion-included-service-parts-override
by joecastelino
Build a vehicle-scoped PARTS override row on a Tekion menu-included opcode via Service Menu Setups → Included Services → Edit Service → Overrides → Parts, driven by the persistent-browser :9223 HTTP endpoints (/eval, /click, /type, /press). Covers the exact DOM (react-select Make, ant-dropdown checkbox Model/Year multi-selects, Trim Details modal), the verified click-paths, and the costly pitfalls (wrong /eval key, navigate-away row wipe, coordinate drift, disabled trim input). Use when swapping/adding parts on an opcode that lives INSIDE a service menu (e.g. BGCVTF CVT fluid → E-TAF for Corollas).
tekion-opcode-pricing-v2
by joecastelino
DEEP REFERENCE / ARCHIVE for Tekion opcodeManagementV2. The day-to-day work is now split into three clean skills — use those FIRST: tekion-opcode-default-pricing (labor + parts), tekion-opcode-overrides (vehicle/part override batch rows), and tekion-opcode-api (read/audit/verify committed rows). Load THIS skill only when you need the full historical detail: complete dealer-switch code, Puppeteer scripts, every selector quirk, and the session-by-session debugging archaeology behind the verified recipes.
tekion-opcode-api
by joecastelino
Read, audit, and VERIFY Tekion opcode override rows directly from the backend REST API using the session's own auth token. This is the AUTHORITATIVE source of truth — the override UI grid frequently renders wrong/empty even when rows exist in the backend. Use to get the true committed row count before a batch, detect incomplete (part-less) rows, and confirm persistence after saving.
tekion-computer-use
by joecastelino
Autonomous vision-guided browser automation for Tekion DMS. Uses the persistent Playwright browser server (port 9223) as the interaction layer and Claude Sonnet 4 (via OpenRouter) as the vision/decision-making brain. Claude sees page snapshots, decides what to click/type, and the agent executes via HTTP API calls.
hermes-slack-slash-commands
by joecastelino
Diagnose and fix Hermes slash commands on Slack — especially the "/sethome failed because the app did not respond" error. The Hermes gateway registers exactly ONE Slack slash command (/hermes); every other command (sethome, reset, model, new, status, …) must be invoked as a SUBCOMMAND: /hermes . A bare /sethome is not registered with Slack, so Slack times out. Use when a Slack user reports a slash command "doesn't respond", goes to the wrong thread, or asks to set the Slack home channel. Also covers the "Sending messages to this app has been turned off" DM lockout (App Home Messages Tab disabled) and diagnosing any "can't talk to <agent> on Slack" report across fleet profiles.
tekion-autonomous-login
by joecastelino
Fully autonomous, headless Tekion DMS login that fetches a fresh OTP and saves a reusable session — no human in the loop. Solves the recurring OTP-staleness race and the Ant Design verify-click failure. Use as the auth layer in front of any Tekion automation (scrapers, opcode updates, computer-use agents).
tekion-kb-search-scrape
by joecastelino
Search and scrape the Tekion ServiceNow Knowledge Base (tekion.service-now.com) authenticated as Joe, then store articles in the Tekion KB / GBrain. Use whenever you need to look up HOW a Tekion workflow/setting works, find KB articles by keyword, or ingest Tekion documentation. The KB auto-SSOs from the logged-in DMS session — no separate login needed. Load alongside tekion-sitemap and persistent-browser-server.
tekion-generic-placeholder-part-swap
by joecastelino
Replace a specific auto-populating part (e.g. a BG or WS transmission fluid) on Tekion opcodes and menu included-services with a GENERIC placeholder part (e.g. "Transmission Fluid") that has NO inventory/parts-master record, preserving exact pricing. Use when a menu/opcode estimates the wrong specific part for some vehicles and Parts should substitute the real part at RO time. Verified end-to-end at Blackstone Toyota (BT, dealer 1249) 2026-07-20 across 5 fluid lines.
amg-wip-payroll-vs-rth-analysis
by joecastelino
Analyze an AMG per-store semi-monthly WIP workbook (tech payroll vs RTH / labor relieved to WIP) and produce Joe's service-manager meeting prep — trend table, per-tech gap ranking, talking points, recoverable-$ target. First run 2026-07-08 on "2026- SCWV Wip.xlsx" (Stevens Creek VW); Joe approved the format verbatim.
tekion-customer-pay-ro-count
by joecastelino
Produce the TRUE count + CP dollars + revenue/RO of customer-pay repair orders for a store per month OR per week (incl. prior-4-week trend averages) via Tekion OpenAPI — CP invoice dollars > $0.01, not the misleading CUSTOMER_PAY tag. Verified SCT June 2026 (1,928 of 5,381) and BC weekly 2026-07-05 (226 of 604).
tekion-parts-shipped-not-received-report
by joecastelino
Build the "parts ordered/shipped and NOT received" report for a Tekion store (outstanding part lines on open POs, with aging + $ value). Uses the Parts Receiving "Orders Not Received" queue and an XHR hook on partTrade/u/purchase/search to harvest full per-part JSON (ordered/received/backorder/cancelled qty, unit cost, ref RO/SO, customer). Verified SCT 2026-07-06 (400 POs, 1127 lines, $180K). Load when Joe asks for shipped-not-received, unreceived parts, open PO parts, or PO aging reports.
tekion-labor-time-guide
by joecastelino
Look up or bulk-pull Tekion's Labor Time Guide (OEM warranty labor-time data) for any store/vehicle. Covers the nav path, the underlying API (VIN or Make/Year/Model search), pagination, and the critical fact that THERE IS NO DOWNLOAD/EXPORT BUTTON in the UI — it's a live per-vehicle OEM feed, not a static file. Use when Joe asks to "download the labor time guide", "get OEM labor times", or look up warranty hours/parts/failure codes for a repair.
tekion-parts-ordering-receiving
by joecastelino
Order parts (purchase orders), handle Special Order Requests (SOR/SOP), and receive parts in Tekion's Parts module. Covers the 8 PO types, the SOR→special-order-PO flow, Parts Receiving app (web + mobile scan-gun), Manual Receipts, float/cross-ship/backorder handling, and all statuses. Load for any "how do I order/receive a part" or SOR troubleshooting task in Tekion.
tekion-parts-sales-by-advisor-report
by joecastelino
Build a Tekion parts-sales-by-service-advisor report (e.g. cabin/engine air filters, or any specific part category) for any AMG store — units, revenue, menu-attach, ranked bar-chart summary AND full RO-level line-item detail per advisor. Use whenever Joe asks for a parts sales report "broken down by advisor" or "like the alignment report" — he means BOTH a summary table AND the underlying RO detail, not just aggregate numbers.
tekion-parts-appointments-opcode-scoping
by joecastelino
Restrict Tekion Parts-on-Appointments (Parts RO Sales > Appointments queue) to a subset of opcodes — e.g. recalls only, per Glade at SCT. Covers the per-opcode "Consider for Parts preparation on Appointment" checkbox, Bulk Update, the limited Appointments-tab filters, and how to derive a store's recall keep-list from the opcode list. Load for any "parts department should only see X appointments" request.
tekion-opcode-labor-billing-audit
by joecastelino
Audit a Tekion opcode for wrong labor hours / wrong labor rate across recent ROs (e.g. ToyotaCare TEK opcodes billing 0.8 instead of 0.5, or TEW vs W rate). Determines whether root cause is opcode config, advisor behavior, or post-creation edits. Read-only diagnosis workflow + open case log.
tekion-menu-custom-price-row
by joecastelino
Set a vehicle-scoped CUSTOM package price and labor hours on a Tekion Service Menu by adding a new vehicle row (e.g. "2014 Camry 90K VNM = 2.4 hrs / $469.88"). Use when Joe wants a specific vehicle's menu package price/hours changed without touching other vehicles or tiers. Verified SCT 90K menu 2026-07-03.
tekion-bin-replenishment-picklist
by joecastelino
Build and run the Tekion Bin Replenishment Pick List for multi-bin parts warehouses (pilot SCT). Detects parts where the Primary Bin is running low while overflow bins hold real stock, produces a daily warehouse-walk pick list, and (phase 2) auto-keys the system-side bin adjustment via Tekion's new Adjust Bin by Part / QOH bin adjustment features. Load whenever Joe mentions bin replenishment, sell-by-bin, primary bin stockouts, or moving stock between bins.
amg-store-manager-meeting-prep
by joecastelino
Prep Joe for a working meeting with a store service manager (e.g. Ruben at BC, Kevin at SCT, Sean at TOL) — actionable items backed by LIVE store baselines computed from Jay's cached Tekion pipeline data, framed as what JOE (VP Fixed Ops) can do to help, drafted to Joe's own inbox. Use for any "prep a meeting with <manager>", "action items for <store>", "what can I do to help him" ask.
tekion-customer-email-fraud-scan
by joecastelino
Detect CSI/survey-manipulation fraud by scanning Tekion customer records for redirect emails via the OpenAPI customer-search endpoint (GET /customers?email=). Two modes — KNOWN-EMAIL mode scans all 7 AMG stores for a suspect email Joe names (returns every record currently pointing at it + lastUpdateTime timeline); DISCOVERY mode pages a store's whole customer base to find ALL emails shared across 3+ unrelated customers, then attributes each to the RO-creating advisor (single-advisor-lock = bad actor) to surface ADDITIONAL bad actors beyond the first. Use when Joe says an advisor swapped customer emails to redirect surveys/CSI, asks "how many customers have email X" / "when was this changed", or "find anything else / who else is doing this." Covers the count-param 400 trap, the floor-not-total caveat, the no-modifiedBy / no-change-history API limits, the exclude-staff-domain+dummy-placeholder rules, and the >=85% single-advisor-lock classification threshold.