AI Agent Hub
Back to skills
Contract and Announcement Generation and Audit Tool with Local LLM Support icon

Contract and Announcement Generation and Audit Tool with Local LLM Support

Office Efficiency Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Install @user_9d5a2a39/announcement-skill following https://skillhub.cn/install/skillhub.md.

About this skill

Problem

Drafting announcements, disclosures, official documents, and contracts often means checking template fields, clause completeness, amount consistency, date logic, legal citations, and formatting at the same time. Manual review can miss mandatory clauses, misread “disagree” as positive, confuse percentages as interest rates or penalties, or misalign clause keys during comparison.

How It Works

The skill turns generation, search, parsing, review, and library management into local, script-driven workflows:

  • Template generation: select a template by institution and document type, collect fields, output Markdown, and export Word/PDF
  • Deterministic review: check completeness, logic, formatting, and compliance, including uppercase/lowercase amount mismatches, date conflicts, legal citation style, sensitive words, and AI-generation traces
  • Contract support: contract templates, conversational field extraction in chat_generate_contract.py, rule-based audit in audit_contract.py, clause comparison in contract_diff.py, and six-dimension risk analysis
  • Document parsing: local parsing for PDF, images, Word, and compressed archives, with OCR-style parsing as an optional path
  • Optional enhancements: local LLMs are used only for semantic review and template suggestions, while MX_APIKEY and OPENAI_API_KEY are only needed for user-enabled cloud search or vision features

Boundaries

The default core flow does not require keys or LLMs and fits local drafting assistance and rule-based review. Cloud search, vision, and public-source retrieval depend on network access or external services. Outputs remain assistance material; significant contracts and disclosures should be finalized by legal, compliance, or authorized reviewers.

Use Cases

  • A listed-company secretary drafts an earnings announcement, fills local template fields, and runs deterministic rules to check date and amount consistency.
  • A legal reviewer audits a procurement contract, extracts clauses, and compares key obligations, payment terms, and liability differences between versions.
  • A university office prepares admissions guidance, parses a PDF source, generates a formal public-document layout, and exports Word for manual signing.
  • A fund operations specialist reviews a periodic report, normalizes growth amounts, checks EPS against net profit and share count, and outputs a findings report.

Best For

  • In-house counsel drafting listed-company periodic and temporary announcements needs field completion and rule-based review without uploading sensitive material.
  • Legal reviewers reconciling contract versions need clause extraction and clear differences in obligations, liabilities, payment terms, and amounts.
  • University administrators preparing admissions documents need to convert PDF source material into formal public-document layouts and export Word files.
  • Operations or compliance staff maintaining announcement templates need to import local templates, test audit rules, and generate structured review reports.