feat: add llmfill skill — AI Word form filling - #3021
Open
niuhuluzhihao wants to merge 1 commit into
Open
Conversation
Add a self-contained skill that auto-fills .docx forms, questionnaires, surveys, and templates using reference documents, a knowledge base, or web search. Targets DDQs, due diligence, compliance, and batch form-completion workflows. Structure (skills/llmfill/): - SKILL.md — on-demand instructions, minimal-permission frontmatter - scripts/llmfill.py — Python 3.10+ stdlib-only CLI (fill, kb, whoami) - scripts/api_client.py, config.py — API client + config (600 perms) - references/ — API docs, curl guide, error codes - examples/ — end-to-end fill + build-kb walkthroughs - tests/test_llmfill.py — script-layer tests (network monkeypatched) Updates docs/README.skills.md via npm run build (idempotent re-run clean).
Contributor
🔒 PR Risk Scan ResultsScanned 12 changed file(s).
|
Contributor
🔍 Vally Lint Results✅ All checks passed
Summary
Full linter output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
A new
llmfillAgent Skill that auto-fills.docxforms, questionnaires, surveys, and templates using reference documents, a private knowledge base (RAG), web search, or pure LLM generation. Built for document-automation and batch form-completion workflows: DDQs, due diligence, compliance, HR, and application forms.Why
Form-filling is a repetitive, document-heavy task that benefits from bundled resources — a stdlib-only Python CLI, reference docs, and worked examples — which is exactly the progressive-disclosure shape Agent Skills are designed for. The skill wraps the LLMFill service behind a minimal-permission CLI so a Copilot coding agent can fill forms end-to-end (upload -> poll -> download -> report cost) without leaving its session.
What's included
All bundled assets are well under the 5 MB per-asset limit (largest is ~36 KB).
Validation
npm run skill:validate—llmfillpasses; all 419 skills validnpm run build(npm start) —docs/README.skills.mdupdated with thellmfillrownpm startto confirm idempotency (no further diff)llmfillmatchesname:inSKILL.mdfrontmatterdescriptionis within the 10–1024 char limitmain(notstaged)mainUsage notes
https://www.llmfill.com); custom endpoints require explicit user approval (fail-closed, persisted toapproved_origins).aif_-prefixed) are long-lived credentials configured by the user in~/.llmfill/config.json(600 perms); the agent never touches the token in interactive flows.Test plan
gh skills install github/awesome-copilot llmfillinstalls cleanly (after merge)python scripts/llmfill.py --helpprints available subcommandspython scripts/llmfill.py whoami(with a configured token) returns account/quotaspytest skills/llmfill/tests/passes locally (network monkeypatched)🤖🤖🤖
🤖🤖🤖