How to Use Texas SmartBuy commodity codes in opencode
Returns NIGP commodity codes matching a numeric prefix. Use it to complete a category code before searching procurement notices or awards for the goods and services you sell.
Prompts to try with Texas SmartBuy commodity codes in opencode
Copy an example into opencode, or ask in your own words.
Use Texas SmartBuy commodity codes to retrieve codes beginning with 925. Add the returned codes to the project’s engineering procurement research report.
Use Texas SmartBuy commodity codes to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Texas SmartBuy commodity codes and tell me what changed since last week.
Check Texas SmartBuy commodity codes and summarize what you find in three bullet points.
Pull the newest data from Texas SmartBuy commodity codes and give me the result as a table.
How to set up Texas SmartBuy commodity codes in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the server
Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.
opencode mcp add spiral --global --url https://api.spiral.ai/mcp
- Sign in
Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.
opencode mcp auth spiral
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Texas SmartBuy commodity codes
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "alexandria", "model": "txsmartbuy-gov/public-tenders/list_nigp_codes", "input": { "prefix": "<prefix>" } }'
Then paste one of the prompts above: opencode finds Texas SmartBuy commodity codes on Spiral, shows the price and runs it.
Texas SmartBuy commodity codes providers and prices
Spiral runs Texas SmartBuy commodity codes through Alexandria. Open a card for today's price, with every fee included.
What can you do with Texas SmartBuy commodity codes in opencode?
Build a Texas procurement or grant research report from ESBD records. A coding agent can organize buyer identities, commodity codes, notices, awards, and funding details in the project’s reporting workflow.
Build a bid shortlist
Identify the buyer and commodity category, find relevant solicitations, review their scope, and compare related purchase-order awards before deciding which bids deserve attention.
Prepare a public-buyer research brief
Resolve a Texas agency’s identity, organize its procurement notices by commodity code, and summarize recorded purchases alongside current requirements.
Assess a new service category
Check which commodity codes match a proposed service, identify public buyers, and compare solicitation requirements with relevant award descriptions and vendors.
Publish a procurement research bulletin
Organize notices and recorded awards by buyer and commodity category, then add scope summaries, deadlines, vendors, and links to supporting records.
More on Texas SmartBuy commodity codes and opencode
Overview
Texas SmartBuy commodity codes in other agents
Questions about Texas SmartBuy commodity codes in opencode
Can opencode use Texas SmartBuy commodity codes?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Texas SmartBuy commodity codes like any built-in tool.
How much does Texas SmartBuy commodity codes cost in opencode?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.
Do I need an Alexandria account to use Texas SmartBuy commodity codes in opencode?
No. Spiral runs Texas SmartBuy commodity codes on its own Alexandria account. You sign in to Spiral once and never paste a key.
How long does it take to set up Texas SmartBuy commodity codes in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Texas SmartBuy commodity codes runs?
Texas SmartBuy commodity codes runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.
What does the award search cover?
It covers the ESBD section labeled Awards No Solicitations. An empty result there does not establish that an agency has never awarded a contract.
How many solicitation results fit on a page?
The documented solicitation search response uses pages of 24 results and includes pagination metadata. A single page should not be treated as the complete search.
What timing information does ESBD show?
Solicitation results show a response due date and time, a posting date, and a last-updated timestamp. These distinguish the submission deadline from when the notice was posted or changed.
What can I learn from a grant’s details?
Published grant details can include eligibility, funding amounts, and an agency contact. Use those details to assess the opportunity beyond its search listing.
How are Texas procurement commodity codes structured?
NIGP codes use three digits for the general class and two more for the item. The class identifies a broader category than the full class-item code.
Start using Texas SmartBuy commodity codes in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


