audit-case-rag
Local-first, event-driven RAG for commercial real estate audit & investigation case folders. Index a case directory named like "项目问题编号__标题" (with stage subfolders such as 01_policy_basis/02_process/04_settlement_payment) and query it with citations (file:// links + PDF
Why use this skill?
Build a searchable, local-first evidence index for real estate audit files. Query documents with page-level citations using a structured RAG workflow.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jack4world/audit-case-ragWhat This Skill Does
The audit-case-rag skill provides a specialized, local-first RAG (Retrieval-Augmented Generation) engine specifically designed for commercial real estate auditing and forensic investigations. Unlike general-purpose document search tools, this skill uses a structural, event-driven folder architecture that maps directly to audit workflows—such as policy basis, procurement processes, contractual agreements, and settlement payments. By indexing documents within these stages, the agent can perform deep context-aware queries and provide verifiable, page-level citations using file:// links that open directly in your local PDF viewer or browser.
Installation
- Ensure you have Python 3 installed on your machine.
- Install the skill using the ClawKit CLI:
clawhub install openclaw/skills/skills/jack4world/audit-case-rag. - Navigate to the skill directory and set up your virtual environment:
python3 -m venv .venv source .venv/bin/activate pip install -r scripts/requirements.txt - For full document support including Word/Excel conversion to PDF, ensure LibreOffice (
soffice) is installed and accessible in your system PATH.
Use Cases
- Contractual Compliance Audits: Quickly cross-reference payment requests against signed contract terms and supplemental agreements.
- Procurement Investigation: Search for discrepancies in bidding processes by filtering queries by the
02_processstage. - Payment Verification: Validate if settlement amounts align with project milestones and site acceptance reports.
- Forensic Evidence Collection: Rapidly synthesize data from emails, interview transcripts, and meeting minutes to identify timeline inconsistencies during an audit.
Example Prompts
- "Analyze the project 2023-A01 in the payment stage and list all instances where invoice amounts exceeded the milestone budget."
- "Search the interview transcripts in stage 06_interviews for any mentions of unauthorized vendor approvals regarding the landscaping contract."
- "Does the current settlement in the 04_settlement_payment folder align with the original tender document in 02_process? Provide page-level citations."
Tips & Limitations
- Structure Matters: The accuracy of the retrieval depends heavily on using the predefined stage folders (01_policy_basis, 02_process, etc.). Always name your root folders correctly using the
项目问题编号__标题format. - Performance: For large audit cases, index the folder once and reuse the generated
.joblibfile. Avoid re-indexing unless documents are added or modified. - Privacy: This is a strictly local tool. No data is sent to external cloud APIs, making it ideal for highly sensitive financial and internal audit documents.
- Hybrid Search: The system uses a combination of vector embeddings and TF-IDF reranking; for keyword-heavy queries, consider being specific about project terminology.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jack4world-audit-case-rag": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write, code-execution
Related Skills
remotion-excalidraw-tts
Generate a narrated Remotion video from an Excalidraw (.excalidraw) diagram using text-to-speech (macOS say) and render to MP4. Use when creating explainer videos with pan/zoom + focus highlights over Excalidraw diagrams, with automated voiceover generation and Remotion CLI rendering.
elon-x-actionbook-recap
(DEPRECATED) Use x-actionbook-recap instead. This slug is kept for backward compatibility. Collect, scroll, extract, and summarize X posts using actionbook-rs.
terrain-route-video
Generate a minimalist terrain-style animated driving route video (MP4) from a list of stops (cities/POIs) without Remotion. Uses OSRM for road-following geometry, OpenTopoMap terrain tiles for basemap, Matplotlib for frame rendering, and FFmpeg for encoding. Use when the user asks to create/export a dynamic self-driving route map video (fly-follow camera, route draw animation, labels) and wants it along roads/highways.
yc-new-way
Apply Y Combinator’s “New Way to Build a Startup” playbook to ship fast, validate with real distribution, and iterate using data. Use when the user asks to follow “New Way”, design a 7-day startup sprint, pick a narrow wedge, build a lightweight MVP/SEO site/newsletter, set up experiments, or turn a vague idea into a testable plan with metrics, launch checklist, and weekly iteration loop.
x-actionbook-recap
Collect, scroll, extract, and summarize recent X (Twitter) posts for any handle (optionally filtered by keyword search) using the Actionbook Rust CLI (actionbook-rs) workflow (open → snapshot/accessibility tree → extract `article` text). Use when asked to analyze a handle over a time window (e.g., last 7 days), produce Chinese working notes, and publish a neutral English recap (single post or thread) from a specified account.