Compare suppliers using your purchase history
Price alone can hide late deliveries or bad terms. Your AI scores suppliers on your own history and shows the math.
What happened
An Amazon Web Services sample, built with Strands agents on Amazon Bedrock AgentCore, pulls a purchase request, suppliers, past orders, receipts and agreements from ERPNext. It scores suppliers with weights and recommends one with backups, while approval and purchase orders are separate steps. The sample is untested, ignores supplier status and doesn't work out the delivery rate it promises.
Source: Amazon Web Services sample authors · raw.githubusercontent.com · Tool: Strands agents with Amazon Bedrock AgentCore
Copy this prompt
Paste it into ChatGPT, Claude or Gemini, fill in the [brackets] and add your files. It only drafts. You decide what to send or change.
Use it often? Save it as a skill
Add this job to Claude or Codex once, and your agent knows how to do it without you pasting the prompt each time. Text only, no code.
Download for Claude (.zip)View the skill file
How to add it
- Claude app or claude.ai
- Download the .zip. In Settings, find Skills, choose Upload skill and pick the file. Code execution has to be turned on.
- Claude Code
- Run this in your terminal:
mkdir -p ~/.claude/skills/compare-suppliers-using-your-purchase-history && curl -fsSL https://botcurrent.com/skills/compare-suppliers-using-your-purchase-history/SKILL.md -o ~/.claude/skills/compare-suppliers-using-your-purchase-history/SKILL.md - Codex
- Run this in your terminal:
mkdir -p ~/.agents/skills/compare-suppliers-using-your-purchase-history && curl -fsSL https://botcurrent.com/skills/compare-suppliers-using-your-purchase-history/SKILL.md -o ~/.agents/skills/compare-suppliers-using-your-purchase-history/SKILL.md
Security scanClear13 of 13 checks passed
We check every skill file before we offer it. This one is the prompt above in skill form.
- Passed Skill file is well formed
- Passed Runs its own code or programs
- Passed Connects to the internet from code
- Passed Touches passwords, keys or private files
- Passed Deletes or overwrites things in bulk
- Passed Hidden or scrambled code
- Passed Tries to override your instructions
- Passed Invisible characters in the text
- Passed Sends your data somewhere else
- Passed Can pay or buy without asking you
- Passed Downloads or installs other software
- Passed Has a password or key written into it
- Passed Asks for admin (sudo) rights
Files scanned: SKILL.md. Links to: botcurrent.com, raw.githubusercontent.com. Fingerprint: 58c18caeb605. What we check
Tried it? Did it work for you?
Tell us what went wrong and we’ll fix the prompt: email us.
Votes count only if you allowed optional analytics.
What you'll get
A scored supplier table with the math, backup options and the data you're missing.
You'll need
- The item request and specs
- Past orders, receipts and agreements per supplier
- Your scoring weights
Before you switch it on
Reads onlyIf you give this job to an agent that works in your accounts:
- Access it needs
- Your ERPNext account
- Keep on “ask me first”
- Sending or posting anything, paying or buying, sharing your address or ID, deleting anything
Heads up: Past performance doesn't promise current stock or prices. Confirm with the supplier before you order.
More details: full instructions, sources and safeguards
Before you begin
Historical comparisons cannot establish present availability, suitability or willingness to supply. The buyer must confirm the current situation. No purchase order or supplier message is authorized.
Use this in your own AI tool
- Copy the starter, then open your own AI tool.
- Paste it with only the permitted inputs. Check privacy settings and tool compatibility first.
- Review the draft and held questions. Any later action needs separate approval.
What you need
One requisition and authorized dated supplier, receipt, agreement and purchasing-history copies.
Buyer-approved eligibility, evidence requirements, weights, unknown treatment and item-equivalence rules.
Private review destination and buyer reviewer; no supplier contact or purchasing authority.
Start here
- Freeze requisition, source records and buyer-approved eligibility/weighting rules before comparing.
- Match specifications, commercial units and currencies; hold unsupported item equivalence.
- Calculate scores only for complete comparable evidence under approved weights.
- Show excluded rows and disputed-data sensitivity, preserving conditional alternatives.
- Return the populated comparison and provenance; buyer confirms present suitability and availability.
Advanced prompt — full instructions and safeguards
Copy a prompt for this task
Suggested prompt · untested
Replace the placeholders with your details. This suggested prompt does not run anything or grant access.
Select and copy the text manually if automatic copying is unavailable.
Inputs, access and approval
Inputs:
- Requisition and supplier history. Retain the source date, item identity, commercial unit and currency for each record. Do not equate a similar description with an interchangeable item.
- Buyer-defined evaluation policy. Write down eligibility rules, evidence requirements and the treatment of unknowns before examining the options. Record who approved the policy and the date it applies.
Approval: A proposed comparison does not authorize contacting suppliers, revealing competing terms, making a purchase commitment or changing approved-supplier status. Keep outputs private and draft-only. Before any external communication, upload, live change, spend, commitment or permission change, show the exact action, target, data or content and consequences, then wait for separate appropriate approval. This prompt does not authorize those actions.
Use uploaded inputs first. Confirm scoped authorization before using a read-only connection. Missing inputs or access require an upload or clarification.
Original BotCurrent suggested prompt based on the linked example. Original source · Amazon Web Services sample authors. Editorial review does not establish execution success or current compatibility.
Technical setup & run design — optional
- Starter
- Separate short starter version composed-v1. Untested.
- Advanced prompt
- Existing exact companion. Original test disclosures, if any, remain in the retained source notes. No connected workflow execution is implied.
- Compatibility
- Unknown; check the actual tool, account and permissions.
- Run design
- one_off_manual. No runtime or schedule is activated by BotCurrent.
Exact advanced SHA-256: 000f62fa003197b80d3f7fd03271411fc223cefde5db4e1a70aa0daeeb75d8da
Setup and access
Source evidence, attribution & limitations
Full source evidence
Manual prompt · reviewed mapping, untested
On demand · Finite instructions. A workflow design has not been supplied for this mapping.
Use the accepted prompt’s input, access and approval requirements. Selecting or copying it grants no access and starts no workflow.
Read the accepted prompt, inputs and approval boundary ↑Technical specification & detailed checks
Detailed steps and output format
Failure handling, costs and limits
Original task overview & interpretation
Official recipe
Compare supplier options using procurement history
A purchasing choice can overlook relevant supplier history. Price alone will not settle the choice.
Sample output: a supplier recommendation with alternatives.
Who this helps: Purchasing coordinator
What you need: Requisition and supplier history. Supply buyer-approved eligibility rules and weights. Untested synthetic sample. The adapter ignores supplier-status filtering and does not calculate the advertised delivery rate. Access, deployment and inference costs remain unverified.
- AWS sample method: Retrieves a requisition, suppliers, purchase history, receipts and agreements; calculates weighted comparisons and returns a supplier recommendation with alternatives.
Historical comparisons cannot establish present availability, suitability or willingness to supply. The buyer must confirm the current situation. No purchase order or supplier message is authorized.
The cited implementation is an unexecuted research example. BotCurrent has not tested this workflow.