xls

An Xls audit skill designed to assist an AI agent in conducting security audits and compliance checks (for Xls-related scenarios).

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "xls" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-092cca214ec8c93a817a8149e4d165a81549942b2d35414455ee08e1518ce6fd. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/audit-xls-8r6d before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

An Xls audit skill designed to assist an AI agent in conducting security audits and compliance checks (for Xls-related scenarios).

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Audit formulas and data for accuracy and mistakes. Scope determines depth, from quick formula checks on a selection up to full financial-model integrity audits.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: 审计Xls
slug: audit-xls
version: 1.0.0
displayName: 审计Xls
description: >
  审计Xls专用技能,帮助AI Agent进行安全审计和合规检查。
summary: "审计Xls专用技能,帮助AI Agent进行安全审计和合规检查。"
license: MIT
category: 开发者工具
framework:
  - Claude Code
  - Codex
  - Hermes Agent
  - OpenClaw
  - QClaw
  - WorkBuddy
platform: multi-platform
homepage: "https://github.com/1991513ccie-png"
repository: "https://github.com/1991513ccie-png"

Audit Spreadsheet

Audit formulas and data for accuracy and mistakes. Scope determines depth, from quick formula checks on a selection up to full financial-model integrity audits.

Preflight: Dependency Check

Before starting, verify required libraries are installed and install any that are missing.

python3 -c "import pandas" 2>/dev/null || python3 -m pip install pandas
python3 -c "import openpyxl" 2>/dev/null || python3 -m pip install openpyxl

Important: Do not skip this step — the workflow below will fail without these libraries.

Step 1: Determine scope

If the user already gave a scope, use it. Otherwise ask:

What scope do you want me to audit?

  • selection — just the currently selected range
  • sheet — the current active sheet only
  • model — the whole workbook, including financial-model integrity checks (BS balance, cash tie-out, roll-forwards, logic sanity)

The model scope is the deepest. Use it for DCF, LBO, 3-statement, merger, comps, or any integrated financial model before sending to a client or IC.

Step 2: Formula-level checks (all scopes)

Run these regardless of scope:

Check What to look for
Formula errors #REF!, #VALUE!, #N/A, #DIV/0!, #NAME?
Hardcodes inside formulas =A1*1.05 where the 1.05 should be a cell reference
Inconsistent formulas A formula that breaks the pattern of its neighbors in a row or column
Off-by-one ranges SUM or AVERAGE that misses the first or last row
Pasted-over formulas A cell that looks like a formula location but is actually a hardcoded value
Circular references Intentional or accidental
Broken cross-sheet links References to cells that moved or were deleted
Unit or scale mismatches Thousands mixed with millions, or percentages stored as whole numbers
Hidden rows or tabs Could contain overrides or stale calculations

Step 3: Model-integrity checks (model scope only)

If scope is model, identify the model type: DCF, LBO, 3-statement, merger, comps, or custom, then run the appropriate checks.

3a. Structural review

Check What to look for
Input/formula separation Are inputs clearly separated from calculations?
Color convention Blue=input, black=formula, green=link, or the model's equivalent, applied consistently
Tab flow Logical order such as Assumptions -> IS -> BS -> CF -> Valuation
Date headers Consistent across all tabs
Units Consistent: thousands vs millions vs actuals

3b. Balance Sheet

Check Test
BS balances Total Assets = Total Liabilities + Equity for every period
RE rollforward Prior RE + Net Income - Dividends = Current RE
Goodwill/intangibles Flow from acquisition assumptions if M&A applies

If the balance sheet does not balance, quantify the gap per period and trace where it breaks. Nothing else matters until that is fixed.

3c. Cash Flow Statement

Check Test
Cash tie-out CF Ending Cash = BS Cash for every period
CF sums CFO + CFI + CFF = Delta Cash
D&A match D&A on CF = D&A on IS
CapEx match CapEx on CF matches PP&E rollforward on BS
WC changes Signs match BS movements for AR, AP, and Inventory

3d. Income Statement

Check Test
Revenue build Ties to segment or product detail
Tax Tax expense = Pre-tax income x tax rate, allowing for deferred tax adjustments
Share count Ties to dilution schedule: options, converts, buybacks

3e. Circular references

  • Interest -> debt balance -> cash -> interest is a common intentional circularity in LBO and 3-statement models.
  • If intentional, verify the iteration toggle exists and works.
  • If unintentional, trace the loop and flag how to break it.

3f. Logic and reasonableness

Check Flag if
Growth rates Greater than 100% revenue growth without explanation
Margins Outside industry norms
Terminal value dominance TV > about 75% of DCF EV
Hockey-stick Projections ramp unrealistically in out-years
Compounding EBITDA compounds to absurd levels by Year 10
Edge cases Model breaks at 0% or negative growth, negative EBITDA, or negative leverage

3g. Model-type-specific bugs

DCF

  • Discount rate applied to the wrong period: mid-year vs end-of-year
  • Terminal value not discounted back
  • WACC uses book values instead of market values
  • FCF includes interest expense when it should be unlevered
  • Tax shield double-counted

LBO

  • Debt paydown does not match cash sweep mechanics
  • PIK interest does not accrue to principal
  • Management rollover is not reflected in returns
  • Exit multiple applied to the wrong EBITDA period: LTM vs NTM
  • Fees or expenses not deducted from Day 1 equity

Merger

  • Accretion/dilution uses the wrong share count: pre- vs post-deal
  • Synergies not phased in
  • Purchase price allocation does not balance
  • Foregone interest on cash not included
  • Transaction fees not in sources and uses

3-statement

  • Working capital changes have the wrong sign
  • Depreciation does not match the PP&E schedule
  • Debt maturity schedule does not match principal payments
  • Dividends exceed net income without explanation

Step 4: Report

Output a findings table:

# Sheet Cell/Range Severity Category Issue Suggested Fix

Severity:

  • Critical — wrong output: BS does not balance, formula is broken, or cash does not tie
  • Warning — risky: hardcodes, inconsistent formulas, edge-case failures
  • Info — style or best-practice items: color coding, layout, naming

For model scope, prepend a summary line:

Model type: [DCF/LBO/3-stmt/...] — Overall: [Clean / Minor Issues / Major Issues] — [N] critical, [N] warnings, [N] info

Do not change anything without asking. Report first, fix on request.

Notes

  • BS balance first. If it does not balance, everything downstream is suspect.
  • Hardcoded overrides are the number one source of silent bugs. Search aggressively.
  • Sign convention errors are extremely common.
  • If the model uses VBA macros, note any macro-driven calculations that cannot be audited from formulas alone.

Current listing version

1.0.0

Verify the source revision ↗

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 解决财务模型审计这一专业领域的高频刚需场景
  • 功能闭环完整,从依赖检查到多维度审计再到报告输出
  • 覆盖 selection/sheet/model 三种审计深度,满足不同使用场景
Trigger Precision90/100

Highlights

  • 触发词精准完整:'审计Xls'、'安全审计'、'合规检查'等关键词覆盖全面
  • description 位置正确且内容完整,无截断或错位问题
  • 三种 scope 变体均有清晰描述,边界明确
Structure and Standards95/100

Areas to improve

  • description 重复 Reported severity: Minor

    frontmatter 和 body 中均有 description 字段,内容重复

    Recommendation: 可考虑移除 body 中的重复 description,保持单一数据源

Highlights

  • Phase/步骤清晰:Preflight → Step 1-4 完整执行流程
  • frontmatter 完整,包含所有必要元数据字段
  • findings table 示例完整,便于用户理解输出格式
Execution Reliability90/100

Highlights

  • Preflight 依赖检查确保执行环境准备就绪
  • BS balance 优先原则体现专业审计逻辑
  • 'Report first, fix on request' 机制避免误操作
  • 覆盖主要异常场景:circular reference、hardcode、sign convention 等
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 33, 34
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.