DEV Community

Cover image for Skillware v0.6.3: Tamper-Evident Audit Trails, Multi-Jurisdiction Tax Forms, Bundle Integrity & Agent Micropayments

Skillware v0.6.3: Tamper-Evident Audit Trails, Multi-Jurisdiction Tax Forms, Bundle Integrity & Agent Micropayments

When AI agents move from chat demos to real operations, say filling tax forms, running corporate due diligence, signing bounded micropayments, or executing local workflows, the hard part is rarely the LLM prompt, but most likely everything around it:

  • Determinism: Identical inputs should produce identical execution paths, not hallucinated tool logic.
  • Security & Privacy: Raw secrets and PII (SSN, EIN, TIN, AFM, API keys) must never leak into logs, receipts, or LLM context windows.
  • Auditability: Teams need cryptographic proof of what ran, what went in, and what came out.
  • Portability: A skill written once should work across Gemini, Claude, OpenAI, DeepSeek, Bedrock, and local Ollama models without vendor lock-in.

That is what Skillware (MIT, pip install skillware) is built for: a framework and public registry of self-contained, deterministic skills across various industries, each shipping a manifest.yaml contract, instructions.md directive, deterministic skill.py effect, among other Py scripts and helpers, and offline-testable test_skill.py assurance. Some skills also include a corpus, which is a self-contained dataset or knowledge base that makes the skill work without relying on LLMs mood, internet search results, or hallucinations.


Who Uses Skillware?

  • Local AI & Open-Weights Builders: Run deterministic tools via SkillLoader.to_ollama_prompt() or OpenAI-compatible local servers without needing cloud-only orchestration frameworks.
  • Privacy-Conscious Developers: Keep document parsing, tax/compliance form filling, and secret resolution strictly in-memory or on local disk (0o600 permissions, zero phone-home telemetry).
  • Enterprise & Regulated Teams: Enforce SkillContext credential sandboxing, hardware safety gates, bundle integrity verification, and tamper-evident audit logs across multi-provider agent loops.

What's New in v0.6.3

1. Host-Enforced, Hash-Chained Dispatch Audit Trail (SkillContext + skillware/audit.py)

SkillContext now supports optional, zero-lock-in observability via on_dispatch, audit_log_path, and audit_meta:

  • Every skill execution is recorded in a thread-safe SHA-256 hash-chained JSONL log (verify_audit_log() detects any tampering or deleted lines).
  • Recursive secret and PII redaction automatically scrubs API keys, private keys, and tax/identity tokens (ssn, ein, tin, afm, dob, etc.) before writing to disk.
  • Built-in latency and token-cost tracking across all 6 model adapters.

2. Cryptographic Bundle Integrity Verification (skillware doctor --verify)

Before running skills in CI or production, you can now fingerprint skill bundles using location-independent SHA-256 digests (skillware/core/integrity.py):

  • skillware doctor --verify --lockfile <path> detects match, drift, new, or missing bundle files and exits with code 1 on mismatch.
  • skillware doctor --json and skillware paths --json emit machine-readable JSON for CI pipelines and automated agents.

3. Enterprise PDF Compliance Pipeline (office/pdf_form_filler v0.2.1 → v0.2.4 + skillware pdf)

Closing the v0.2.x PDF compliance milestone:

  • Multi-turn interview sessions (v0.2.1): File-backed atomic session state (empty, filled, skipped, to_revise), PII-masked previews, "/s/ Name" typed e-signing, and permanent vector flattening.
  • skillware pdf CLI (v0.2.2): init, import, map-generate, inspect, map-validate, status --json, and output-dir for managing custom operator templates outside site-packages.
  • Multi-jurisdiction legal_profile autofill (v0.2.3): Extend addressbook.yaml with is_self and structured tax residencies (Greek AFM, UK UTR/NINO, US SSN/EIN with W-9 3-box/2-box slicing, EU VAT, TFN, SIN), entity_type_mismatch and ambiguous_contact fail-closed guards, and skillware addressbook set-legal-profile.
  • Tamper-evident filing_receipt & readback verification (v0.2.4): Every completed fill returns template_sha256, output_sha256, PII-masked redacted_fields, canonical receipt_hash, and post_fill_verification binary readback (plus optional atomic <output_path>.receipt.json via emit_receipt: true), alongside encrypted_pdf_unsupported and corrupted_pdf early guards.

4. Spend-Capped Agent Micropayments (finance/ephemeral_wallet v0.1.0 → v0.2.1)

A new workflow skill for HTTP 402 x402 v2 agent micropayments:

  • create_session, status, quote (dry-run 402 inspect with zero spend), pay, and revoke.
  • Live EIP-3009 TransferWithAuthorization signing via CDP_WALLET_SECRET / eth_account, SSRF/domain allowlists, idempotency replay protection, and CAIP-2 resolution via evm_config.resolve_chain for custom evm.yaml networks.

5. UK Companies House v2.0.0 (finance/uk_companies_house_handler)

Expanded deterministic KYB surface: get_company_charges, get_insolvency, get_filing_item, search_officers, get_officer_appointments (?filter=active), 404 normalization, and the 5-point Host Agent Playbook.

6. Adapter Hardening & Model Refresh

  • Fixed SkillLoader adapters (to_claude_tool, to_gemini_tool, to_openai_tool, to_deepseek_tool, to_bedrock_tool) for zero-parameter skills and recursive Gemini array/anyOf/oneOf schema normalization.
  • Updated data_engineering/synthetic_generator (v0.1.2) default Anthropic model away from retired claude-3-haiku-20240307.

Get Involved

Skillware is open source under the MIT License:

  • Install: pip install skillware==0.6.3
  • Explore the repo & docs: github.com/ARPAHLS/skillware
  • Contribute a skill or fix: Check CONTRIBUTING.md and start from templates/python_skill/, or browse good first issue / skill request tickets on GitHub.
  • Run local checks: skillware doctor, skillware list, and skillware find "<task>".

Top comments (0)