pack-skill
Skill0 starsChanged 4 months agoNo licenceView on GitHub
Solve any problem in the philosophical family of the knapsack problem (背包问题) using the unified state-design framework from 崔添翼《背包问题九讲》. Use whenever a problem reduces to "choose a subset/multiset of items under a capacity-like cost to optimize a value-like objective" — including 0/1 pack, unbounded/complete pack, bounded/multiple pack, mixed pack, 2-D cost pack, grouped pack, dependency pack (主件/附件, tree-shaped), generalized items (泛化物品), subset-sum / can-it-fill-exactly, counting feasible or optimal schemes, recovering the chosen subset, lexicographically smallest plan, and Kth-best value. Trigger words — 背包/knapsack, subset sum, "choose items with weight/cost ≤ W to maximize value", "ways to make change", "partition into K groups", "limited copies", "items depend on each other", "fill exactly", coin change counting, NOIP-style 金明的预算方案 / 采药 / 装箱问题.
In this repository89 other files it gives its agents.
- vercel-react-best-practices/AGENTS.mdAGENTS.md
- 3d-cad-skillSkill
- agent-browserSkill
- arkts-skillSkill
- autoresearchSkill
- baoyu-post-to-wechatSkill
- blogwatcherSkill
- canvasSkill
- chrome-cdpSkill
- cii-skillSkill
- claudeceptionSkill
- clawdhubSkill
- coding-agentSkill
- c-skillSkill
- discordSkill
- distributed-systemsSkill
- docxSkill
- ebookSkill
- elf-patcherSkill
- embodied-intelligence-skillSkill
- excalidraw-diagramSkill
- fanqie-publishSkill
- fetch-skill-and-then-write-skillSkill
- fetch-skillSkill
- frontend-slidesSkill
- geminiSkill
- gifgrepSkill
- githubSkill
- git-wtSkill
- harmonyos-code-reviewSkill
- harmonyos-linux-cli-devSkill
- hm-fetch-skillSkill
- hm-framework-skillSkill
- hm-napi-skillSkill
- hm-sa-skillSkill
- humanizerSkill
- ian-gemini-webSkill
- kernel-dev-skillSkill
- docxSkill
- macos2linuxappSkill
- macos-menubar-tuist-appSkill
- matecodeSkill
- medialibrary-ut-generatorSkill
- mermaid-validatorSkill
- mobai-reverseSkill
- model-usageSkill
- modern-bashSkill
- modern-c-devSkill
- modern-c-makefileSkill
- moonbitSkill
- nano-pdfSkill
- notebooklmSkill
- notionSkill
- obsidian-plugin-devSkill
- obsidianSkill
- openai-image-genSkill
- openai-whisperSkill
- paddleocr-doc-parsingSkill
- paper2codeSkill
- pdfSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

