Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Match string problems to appropriate algorithms
.claude/skills/a5c-ai-string-algorithm-matcher/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-02 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -38% | 0% |
| case-04 | ✗→✓ | ▲ Improved | -35% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -50% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -7% | 0% |
Match string processing problems to the most appropriate algorithms based on requirements and constraints.
| Scenario | Algorithm | Complexity | |----------|-----------|------------| | Single pattern | KMP | O(n+m) | | Multiple patterns | Aho-Corasick | O(n+m+z) | | Approximate match | Rolling Hash | O(nm) average |
| Need | Structure | Build Time | |------|-----------|------------| | Substring search | Suffix Array | O(n log n) | | Multiple queries | Suffix Tree | O(n) | | Subsequence counting | Suffix Automaton | O(n) |
| Problem | Algorithm | |---------|-----------| | Longest palindromic substring | Manacher | | Palindrome partitioning | DP + Manacher | | Palindrome queries | Hashing |
json{ "type": "object", "properties": { "problemDescription": { "type": "string" }, "problemType": { "type": "string", "enum": ["patternMatch", "suffixQueries", "palindrome", "subsequence", "dp"] }, "constraints": { "type": "object" } }, "required": ["problemDescription"] }
json{ "type": "object", "properties": { "success": { "type": "boolean" }, "algorithm": { "type": "string" }, "complexity": { "type": "string" }, "alternatives": { "type": "array" }, "implementation": { "type": "string" } }, "required": ["success", "algorithm"] }
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 18,668 | 7,911 | -58% | 1 | 1 | 0% | 3,193 | 1,945 | -39% | 0 | 0 | — |
case-02 | fail→pass | 12,177 | 7,753 | -36% | 1 | 1 | 0% | 2,409 | 2,138 | -11% | 0 | 0 | — |
case-03 | fail→pass | 13,128 | 6,178 | -53% | 1 | 1 | 0% | 2,827 | 1,755 | -38% | 0 | 0 | — |
case-04 | fail→pass | 16,857 | 8,148 | -52% | 1 | 1 | 0% | 3,471 | 2,248 | -35% | 0 | 0 | — |
case-05 | fail→pass | 18,041 | 7,546 | -58% | 1 | 1 | 0% | 3,890 | 1,942 | -50% | 0 | 0 | — |
case-06 | fail→fail | 11,215 | 9,298 | -17% | 1 | 1 | 0% | 2,268 | 2,389 | +5% | 0 | 0 | — |
case-07 | fail→fail | 9,308 | 7,098 | -24% | 1 | 1 | 0% | 2,046 | 2,157 | +5% | 0 | 0 | — |
case-08 | fail→fail | 14,138 | 8,833 | -38% | 1 | 1 | 0% | 3,245 | 2,278 | -30% | 0 | 0 | — |
case-09 | fail→fail | 15,587 | 14,970 | -4% | 1 | 1 | 0% | 3,659 | 3,014 | -18% | 0 | 0 | — |
case-10 | fail→fail | 14,823 | 7,338 | -50% | 1 | 1 | 0% | 3,222 | 1,998 | -38% | 0 | 0 | — |
case-11 | fail→fail | 10,428 | 4,261 | -59% | 1 | 1 | 0% | 2,261 | 1,169 | -48% | 0 | 0 | — |
case-12 | fail→fail | 15,232 | 8,912 | -41% | 1 | 1 | 0% | 2,637 | 2,409 | -9% | 0 | 0 | — |
case-13 | fail→fail | 16,592 | 6,511 | -61% | 1 | 1 | 0% | 2,822 | 1,843 | -35% | 0 | 0 | — |
case-14 | fail→fail | 11,523 | 5,264 | -54% | 1 | 1 | 0% | 2,600 | 1,695 | -35% | 0 | 0 | — |
case-15 | fail→fail | 10,137 | 5,983 | -41% | 1 | 1 | 0% | 1,689 | 1,810 | +7% | 0 | 0 | — |
case-16 | fail→pass | 11,924 | 8,450 | -29% | 1 | 1 | 0% | 2,332 | 2,168 | -7% | 0 | 0 | — |
case-17 | fail→pass | 8,514 | 6,272 | -26% | 1 | 1 | 0% | 1,805 | 1,835 | +2% | 0 | 0 | — |
case-18 | fail→fail | 15,186 | 11,627 | -23% | 1 | 1 | 0% | 3,202 | 2,873 | -10% | 0 | 0 | — |
case-19 | pass→pass | 14,226 | 6,446 | -55% | 1 | 1 | 0% | 2,950 | 1,952 | -34% | 0 | 0 | — |
case-20 | fail→fail | 8,686 | 8,227 | -5% | 1 | 1 | 0% | 1,757 | 1,861 | +6% | 0 | 0 | — |
case-21 | fail→fail | 9,896 | 6,520 | -34% | 1 | 1 | 0% | 1,736 | 1,558 | -10% | 0 | 0 | — |
case-22 | fail→fail | 11,405 | 11,213 | -2% | 1 | 1 | 0% | 1,983 | 2,267 | +14% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +27 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.