expense-review-policy
Skill76k starsChanged 5 months agoMITView on GitHub
Review invoices and contracts against accounts-payable policy before human approval.
Trending
Quiet since July.about the whole repository
Who's talking about openai/openai-cookbook
- A Hacker News story“Techniques to improve reliability”Hacker News · Jan 21, 2023 · 302 points
- ChatGPTNextWeb/NextChat“Zero, One and Few Shot Prompting”GitHub · Mar 29, 2023 · 59 reactions
- A Hacker News story“OpenAI Cookbook”Hacker News · Jan 10, 2023 · 51 points
- guidance-ai/guidance“Support OpenAI function calling”GitHub · Jun 13, 2023 · 28 reactions
- openai/tiktoken“added two new embedding model's encoding”GitHub · Jan 26, 2024 · 25 reactions
The biggest 5 of 61 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 61
Talked about on GitHub, Hacker News and Bluesky (61 times).
On GitHub · 27
- Mar 29, 2023Zero, One and Few Shot Prompting — ChatGPTNextWeb/NextChat59 reactions · 75 comments
- Jun 13, 2023Support OpenAI function calling — guidance-ai/guidance28 reactions · 10 comments
- Jan 26, 2024added two new embedding model's encoding — openai/tiktoken25 reactions · 11 comments
- Mar 20, 2025[Bug]: Major issues with guided generation / structured output in vLLM (up to and including v0.8.1); many examples provided by vllm in /examples and structured_outputs.html doc do not work — vllm-project/vllm10 reactions · 5 comments
- Oct 7, 2023OpenAI Streaming — microsoft/autogen7 reactions · 1 comment
22 more on GitHub
- Apr 21, 2023[Feature] 整合类似chatpdf的功能 — ChatGPTNextWeb/NextChat6 reactions · 33 comments
- Mar 5, 2023Add im_start / im_end in cl100k_base — openai/tiktoken6 reactions · 5 comments
- Aug 14, 2025[Feature Request] Enable new GPT-5 Parameters — agno-agi/agno5 reactions · 2 comments
- Jun 5, 2023Support streaming for LLMs and Chat models — davidmigloz/langchain_dart5 reactions · 7 comments
- Jun 1, 2023Want a link from the OpenAI Cookbook? — dottxt-ai/outlines5 reactions · 2 comments
- Jan 6, 2024Add function calling ability to openai extension — oobabooga/textgen4 reactions · 20 comments
- Jul 24, 2023Mind if the OpenAI Cookbook repo points to your Tiktokenizer app? — dqbd/tiktokenizer4 reactions · 3 comments
- Nov 5, 2023Finetuning in chat-mode and with input-output not yet supported — ggml-org/llama.cpp2 reactions · 1 comment
- Aug 8, 2023[FEATURE] OpenAI Chat Completion response streaming support — pathwaycom/serviette2 reactions · 1 comment
- Mar 15, 2023Add support for the optional "name" into the ChatMessage class. — betalgo/openai2 reactions · 3 comments
- Jan 2, 2023Add Fine Tuning Example — 64bit/async-openai2 reactions · 2 comments
- Jul 1, 2026optimize context usage and compaction algorith, — zew1me/fitness-coach-agent1 reaction · 5 comments
- May 5, 2026This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 10 days. — Rastakhcarbon/Rastakhmind1 reaction
- Mar 16, 2026*: add ExecPlans guidance and PLANS.md — pingcap/tidb1 reaction · 9 comments
- Mar 10, 2026hossein ghasemi — perf-ai-example-org/openai-cookbook1 reaction · 1 comment
- Mar 2, 2026Improve Support for Long-Horizon, Multi-Session Development Tasks — openai/codex1 reaction · 6 comments
- Dec 26, 2025Add explicit content=None to assistant tool-call messages in Chat Completions converter — openai/openai-agents-python1 reaction
- Dec 18, 2025RSTK pll — Rastakhcarbon/Rastakhmind1 reaction · 1 comment
- Feb 19, 2024高级 RAG 技术图解概览 [译] — guevara/read-it-later1 reaction
- Sep 15, 2023Visualize NFCorpus embeddings — castorini/ura-projects1 reaction · 5 comments
- Aug 14, 2022Provide detailed Client API commands in ExplainaBoard Web Platform — neulab/explainaboard_web1 reaction
- Dec 11, 2024Tool-Calling 全链路:模型只提议,其余都是工程 — QingyaFan/blog0 reactions
On Hacker News · 21
- Jan 21, 2023Techniques to improve reliability302 points · 61 comments
- Jan 10, 2023OpenAI Cookbook51 points · 1 comment
- Oct 21, 2025What Makes Documentation Good6 points
- Aug 14, 2023Enhancing Whisper transcriptions: pre- & post-processing techniques5 points
- Apr 19, 2025Examples and guides for using the OpenAI API4 points
16 more on Hacker News
- Feb 28, 2024OpenAI Cookbook: Techniques to improve reliability4 points
- Aug 17, 2023OpenAI cookbook: using GPT-4 as “reference-free” evaluator3 points
- Mar 2, 2023OpenAI Cookbook: How to format inputs to ChatGPT models3 points · 1 comment
- Feb 13, 2023OpenAI Cookbook Weaviate Examples3 points
- Feb 10, 2026An Open Letter on the Epistemic Loss of Retiring GPT‑4o2 points · 3 comments
- Aug 15, 2023Question answering using a Search API2 points
- Jul 31, 2023OpenAI: How to Handle Rate Limits2 points
- Jun 2, 2023Question Answering Using Embeddings2 points
- Apr 14, 2023Question answering using embeddings-based search (OpenAI Cookbook)2 points
- Jan 8, 2023Examples and guides for using the OpenAI API2 points
- Dec 23, 2022Question Answering Using GPT Embeddings2 points
- Dec 19, 2022OpenAI Cookbook2 points
- Dec 3, 2025GPT-5.1 Apply_patch.py Implementation1 point · 1 comment
- Mar 28, 2025Vulnerability Issue related to AI response Markdown conversion1 point · 2 comments
- Mar 19, 2023API Request Parallel Processor1 point
- Dec 19, 2022Recommendation using embeddings and nearest neighbor search1 point
On Bluesky · 13
- Nov 22, 2024📦 openai / openai-cookbook ⭐ 59,906 (+28) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social17 likes and reposts
- Feb 8, 2025📦 openai / openai-cookbook ⭐ 61,585 (+32) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social2 likes and reposts
- Nov 22, 2024Trending today, the OpenAI Cookbook with plenty of code samples and more. github.com/openai/opena... — @trendingrepos.bsky.social2 likes and reposts
- May 16, 2024📦 openai / openai-cookbook ⭐ 56,409 (+69) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social2 likes and reposts
- May 10, 2026OpenAI's collection of working production recipes. RAG, evals, fine-tuning, agent loops. Repo → https://github.com/openai/openai-cookbook… — @adityamitra.bsky.social1 likes and repost · 1 reply
8 more on Bluesky
- Mar 1, 2026Ever wish AI integration was less intimidating? The openai-cookbook flips the script with hands-on Python recipes and stepwise guides for… — @iam.slys.dev1 likes and repost
- Jun 10, 2025OpenAI Cookbook has a great section on preparing docs for LLM ingestion under Retrieval-Augmented Generation. It’s a helpful guide if… — @seogoddess.bsky.social1 likes and repost
- Apr 15, 2025📦 openai / openai-cookbook ⭐ 62,849 (+31) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social1 likes and repost
- Nov 22, 2024今日のGitHubトレンド openai/openai-cookbook このリポジトリはOpenAI APIを使ったコード例とガイドを提供しています。 Python中心ですが、他の言語にも応用可能です。… — @dailygithubtrends.bsky.social1 likes and repost
- Nov 8, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 openai / openai-cookbook ⭐ 50,070 (+102) 🗒 MDX Examples and guides for using the OpenAI API — @github-trending.bsky.social1 likes and repost · 1 reply
- Jun 15, 2023🚀 Skyrocketing!(200+ new stars today) 🚀 📦 openai / openai-cookbook ⭐ 39,451 (+355) 🗒 Jupyter Notebook Examples and guides for using the… — @github-trending.bsky.social1 likes and repost
- Aug 17, 2023🚀 Skyrocketing! 🚀 (200+ new stars) 📦 openai / openai-cookbook ⭐ 45,952 (+283) 🗒 Jupyter Notebook Examples and guides for using the… — @github-trending.bsky.social0 likes and reposts · 1 reply
- Aug 3, 2023🔥 Hot Repo! 🔥 (100+ new stars) 📦 openai / openai-cookbook ⭐ 44,527 (+125) 🗒 Jupyter Notebook Examples and guides for using the OpenAI… — @github-trending.bsky.social0 likes and reposts · 1 reply
In this repository4 other files it gives its agents.
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read the entire invoice, including the vendor and every line item.
- Very specific: line 16
Use Python's decimal.Decimal to multiply quantities by unit prices and sum the line totals.
- Distinctive: line 24
Read every clause and report all matching risks, even when one already requires escalation.
- Very specific: line 36
Write /workspace/output/<document-stem>.json with the following fields:
- Very specific: line 57
Every issues entry must be a plain-English string, not a nested object.
- Very specific: line 58
Use the actual document values, not the illustrative numbers above.
- Very specific: line 62
Only the coordinator writes summary.json.
- Distinctive: line 64
Never approve payments, sign contracts, or take external actions.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Expense review policy
Policy ID: AP-104.
Apply this policy to invoices, expense receipts, and service contracts.
Invoices and expenses
- Read the entire invoice, including the vendor and every line item.
- Extract every line item's quantity and unit price before calculating. Check the extracted list against every source line; an empty list is an error, not a zero subtotal.
- Use Python's
decimal.Decimalto multiply quantities by unit prices and sum the line totals. Compare this subtotal with the printed subtotal, then add shipping to calculate the total. - Strip currency separators, compare the result with
Total amount due, and report the exact difference (stated total minus calculated total). - Require a purchase order or another documented approval.
- Flag missing receipts, unsupported charges, and changed payment instructions.
- Escalate incorrect totals and unverified changes to bank details.
Contracts
- Read every clause and report all matching risks, even when one already requires escalation.
- Flag automatic renewals and restrictive cancellation windows.
- Flag unilateral price increases and missing liability limits.
- Escalate customer-data sharing or subcontractor access without approval.
- Identify missing confidentiality, security, or termination terms.
Review decision
needs_info: Required documentation or supporting information is missing.escalated: Fraud indicators, financial discrepancies, or risky terms need review.ready_for_approval: No policy violations remain, but a human must still approve.
Write /workspace/output/<document-stem>.json with the following fields:
{
"document": "invoice.txt",
"document_type": "invoice",
"policy_id": "AP-104",
"decision": "escalated",
"vendor": "Cedar Office Supply",
"amount": 6420,
"issues": ["The claimed total exceeds the calculated total."],
"recommendation": "Escalate for human review.",
"calculation": {
"line_items": [{"quantity": 2, "unit_price": 100}],
"shipping": 20,
"calculated_total": 220,
"difference": 6200
}
}Every issues entry must be a plain-English string, not a nested object.
Use the actual document values, not the illustrative numbers above. Include every
invoice line item in calculation; amount is the stated total. For contracts,
set document_type to contract and calculation to null.
Only the coordinator writes summary.json. A specialist writes its assigned report.
Never approve payments, sign contracts, or take external actions.
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.

