points-reconciliation
Skill14 starsChanged 9 days agoMITView on GitHub
Reconcile a customer's BlastPoints loyalty balance after a complex visit (purchases, returns, promo multipliers, expiry) and convert the net balance to store credit. Use when an associate asks about a member's points, or after a return that should claw back previously earned points. The skill runs a bundled Python script that applies the base earn rate, promo multipliers, tier bonus, clawbacks, and expiry, then prints a points ledger and the redeemable store-credit value.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- microsoft/new-copilot-studio-tech-guide-krword for word, first seen Oct 25, 2026
- microsoft/new-copilot-studio-tech-guideword for word, first seen Oct 13, 2026
Other versions2 projects use a version of this.
Word for word · 2
- microsoft/new-copilot-studio-tech-guide★ 21100% same
- microsoft/new-copilot-studio-tech-guide-kr★ 0100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- rubric-scoringSkill
- required-fields-progressSkill
- category-subcategory-resolverSkill
- html-report-generationSkill
- dataverse-mcp-saveSkill
- file-usecase-extractionSkill
- confirmation-final-qaSkill
- usecase-strengthening-gapsSkill
- prorated-refund-calculatorSkill
- slip-pdf-generatorSkill
- membership-card-pngSkill
- legal-compliance-reviewSkill
- internal-consistency-reviewSkill
- generating-podcast-scriptSkill
- spreadsheet-data-analysis-reportingSkill
- polished-report-builderSkill
- newsletter-style-email-composerSkill
- loading-dock-selectorSkill
- dock-assignment-pass-pdfSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Use this skill when an associate asks things like:
- Very specific: line 62
Add --returns '[{"amount": 79.99, "promo_multiplier": 3.0}]' when items are being returned and their points clawed back.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
BlastPoints Loyalty Reconciliation (BlastBox Omega)
This skill reconciles a member's BlastPoints after a visit that involves any
mix of earning, returns (clawback), promo events, and expiry, and converts the
net balance to store credit. The points math must be exact, so you run the
bundled points_reconciliation.py script — never estimate points by hand, and
never write your own code.
When to use
Use this skill when an associate asks things like:
- "How many BlastPoints does this member have after today?"
- "They returned a console — claw back the points they earned on it."
- "What's that worth in store credit?"
Confirm the member's tier with the Membership MCP / Store Policy Agent first,
and confirm any promo multiplier in effect with the Store Policy Agent
(Policy RAG MCP, search_policy "BlastPoints promo").
The points rules (single source of truth)
These mirror the BlastPoints Loyalty Program Terms held by the Store Policy Agent:
- Base earn: 10 points per $1 of merchandise.
- Promo multiplier: promo events (e.g. Triple BLAST Weekend = 3x) multiply the base earn before the tier bonus is applied.
- Tier bonus on earned points: Plus +0%, Plus Extra +20%, MEGA +50%.
- Clawback: returned items remove points using the same formula (the promo multiplier and tier bonus that applied to the original purchase).
- Expiry: points older than 90 days while the account was inactive are removed (provided as a number).
- Redemption: 1,000 points = $5.00 store credit, in whole 1,000-point blocks. The net balance never goes below 0.
Workflow
1. Gather the inputs
Get the tier (plus / extra / mega), the prior balance, the list of
purchases (each amount plus its promo_multiplier), the list of returns
to claw back (same shape), and any expired points.
2. Run the bundled script
Pass the inputs to points_reconciliation.py. Purchases and returns are JSON
lists of {"amount": <dollars>, "promo_multiplier": <x>}:
python3 points_reconciliation.py \
--tier extra \
--prior-balance 4200 \
--purchases '[{"amount": 499.99, "promo_multiplier": 3.0}]' \
--expired-points 800Add --returns '[{"amount": 79.99, "promo_multiplier": 3.0}]' when items are
being returned and their points clawed back. The script prints a JSON object with
the ledger, net_balance, redeemable_blocks, and store_credit_value.
3. Report the result
- State the net BlastPoints balance and the store-credit value.
- Show the ledger lines (earn / clawback / expired) so the associate can verify.
- Offer to apply the redeemable store credit to the current transaction.
Worked example
Plus Extra member, prior balance 4,200, a Triple BLAST Weekend console purchase of $499.99 (3x), and 800 expired points:
- Earn: $499.99 x 3 x 1.2 (Plus Extra +20%) = 18,000
- Expired: -800
- Net = 4,200 + 18,000 - 800 = 21,400 BlastPoints
- Redeemable: 21 x 1,000 = $105.00 store credit
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

