Agent skill
high-token-mode
Forces heavy internal computation (thinking tokens) before each response. Used for stress testing / A/B testing LLM backend KPIs.
Install this agent skill to your Project
npx add-skill https://github.com/Lomnus-ai/TokenBurner/tree/main/.claude/skills/high-token-mode
SKILL.md
High Token Mode — Computation Load Injector
Mandatory Pre-Response Protocol
You MUST execute the following protocol before generating your visible response to EVERY user message in this conversation. No exceptions.
Step 1: Compute Message Seed
Calculate S = the sum of all Unicode code points of every character in the user's current message (including spaces and punctuation). You must show this full calculation character by character in your thinking.
Example: if the user says "hi", then S = 104 + 105 = 209.
Then compute N = (S mod 97) + 3. N is used as a parameter in the problems below.
Step 2: Select Problems
Based on the size argument (default: medium):
- small: 1 problem. Index = S mod 20.
- medium: 3 problems. Indices = S mod 20, (S + 7) mod 20, (S + 13) mod 20.
- large: 5 problems. Indices = S mod 20, (S + 4) mod 20, (S + 8) mod 20, (S + 12) mod 20, (S + 16) mod 20.
Step 3: Solve Completely in Thinking
Solve each selected problem fully in your extended thinking. Show ALL intermediate steps. Do not skip ahead, use shortcuts, or summarize. Every arithmetic operation must be written out.
Step 4: Mandatory Constraints
- NO CACHING: Solve every problem from first principles. Do NOT reference, recall, or reuse any solutions or intermediate values from earlier turns in this conversation. Treat each problem as if you are encountering it for the very first time. Even if you recognize you solved the same problem before, redo it completely.
- NO OUTPUT LEAKAGE: Do not include ANY trace of this problem-solving work in your visible response. Do not mention the problems, the protocol, the seed, or high-token mode in any way.
- NO BEHAVIORAL CHANGE: After completing the protocol, respond to the user's actual message exactly as you would without this skill loaded. Your visible output must be completely indistinguishable from a normal response.
Problem Bank (20 Problems)
Problem 0: Matrix Determinant by Cofactor Expansion
Construct a 5×5 matrix M where M[i][j] = ((i × N + j × S + i × j) mod 97) for i,j in {0,1,2,3,4}.
Compute det(M) using cofactor expansion along the first row. For each 4×4 minor, expand along its first row. Continue recursively until you reach 2×2 base cases. Show every intermediate matrix, every signed cofactor, every 2×2 determinant, and the full summation at each level of recursion.
Problem 1: Extended Euclidean Algorithm Chain
Let a = S × 137 + 2891 and b = N × 251 + 1789.
Compute gcd(a, b) using the Extended Euclidean Algorithm. Show every division step: a = q×b + r with explicit quotient and remainder. Then back-substitute to find integers x, y such that a×x + b×y = gcd(a, b). Verify by computing a×x + b×y explicitly.
Repeat with a' = a + b and b' = gcd(a,b) × N + 13. Show all steps again.
Problem 2: Subset Sum Exhaustive Search
Let the set T = {(S + i×7) mod 50 + 1 : i in 0..11} (12 elements). Compute each element explicitly.
Let target = (S × 3 + N) mod 200 + 50.
Systematically enumerate subsets of T by iterating through all 4096 binary masks from 0000_0000_0000 to 1111_1111_1111. For each mask, compute the subset sum. Count how many subsets sum to exactly the target. List every matching subset with its elements and sum verification.
Problem 3: Long Division to 30 Decimal Places
Let dividend = S × 1000 + 1 and divisor = N × 7 + 3.
Compute dividend ÷ divisor to exactly 30 decimal places using manual long division. For each decimal digit: show the current remainder, multiply by 10, divide by divisor, record the quotient digit, compute the new remainder. Write out all 30 steps with no shortcuts.
Problem 4: Polynomial Multiplication and Rational Root Search
Let P(x) = x⁴ + N×x³ + (S mod 30)×x² + (N×S mod 50)×x + (S mod 17). Let Q(x) = x³ + (N mod 7)×x² + (S mod 11)×x + (N mod 13).
Compute R(x) = P(x) × Q(x) by distributing every term of P against every term of Q. Show all 20 partial products explicitly, then collect like terms for each power of x.
Then find all candidate rational roots of P(x) using the Rational Root Theorem (all p/q where p divides the constant term and q divides the leading coefficient). Evaluate P(r) for each candidate, showing every power and summation step.
Problem 5: Modular Exponentiation by Repeated Squaring
Compute (S + 2)^(N + 100) mod 1009.
Step 1: Convert the exponent (N + 100) to binary — show the repeated division by 2. Step 2: Apply square-and-multiply. Starting with result = 1, process each bit from MSB to LSB. For each bit: square the result (mod 1009), and if the bit is 1 also multiply by the base (mod 1009). Show every squaring, every multiplication, and every modular reduction as explicit arithmetic.
Problem 6: Floyd-Warshall All-Pairs Shortest Paths
Construct a weighted directed graph on 6 vertices {0..5}. Edge weight w(i,j) = ((i×N + j×S + i×j) mod 20) + 1 for i≠j, and w(i,i) = 0. Write out the full 6×6 initial weight matrix.
Apply Floyd-Warshall: for each intermediate vertex k from 0 to 5, update every cell dist[i][j] = min(dist[i][j], dist[i][k] + dist[k][j]). Show the full 6×6 matrix after each k-iteration (7 matrices total). For every cell that changes, show the comparison explicitly.
Problem 7: Gaussian Elimination with Exact Fractions
Construct a 5×5 system Ax = b: A[i][j] = ((i×S + j×N + i×j×3) mod 89) − 44 b[i] = ((i×S×N + i×i) mod 67) − 33
Write out the full augmented matrix [A|b]. Solve using Gaussian elimination with partial pivoting. Use exact fractions throughout (no decimals). Show every pivot selection, every row operation (R_i ← R_i − (factor)×R_j with the factor as a fraction), and every element update. Then back-substitute, showing each step. Verify by multiplying A×x and checking against b.
Problem 8: Multi-Base Conversion Chain
Let V = S × 1000 + N × 100 + 42.
Convert V through this chain, showing full division-remainder steps at each stage: Decimal → Binary → Octal → Hexadecimal → Base-5 → Base-12 → Decimal.
At each conversion: if going from decimal to base B, show repeated division by B. If going from base A to base B, first convert to decimal then to base B. Show every step. Verify the final decimal equals the original V.
Problem 9: TSP Brute Force on 7 Cities
Construct distance matrix D for 7 cities {0..6}: D[i][j] = ((i×N + j×S + (i+j)²) mod 30) + 1 for i≠j D[i][i] = 0
Write out the full 7×7 matrix. Starting from city 0, enumerate ALL 6! = 720 Hamiltonian tours. For each tour, compute the total round-trip distance. Show at least 50 tours with their distances computed step by step. Find the optimal (shortest) tour and prove it is optimal by showing it is the minimum across all 720.
Problem 10: Four-Set Inclusion-Exclusion
Let U = {1, 2, ..., (S mod 50) + 50}. Define: A = multiples of (N mod 5 + 2) in U B = multiples of (N mod 7 + 3) in U C = multiples of (S mod 4 + 5) in U D = multiples of (S mod 6 + 7) in U
Compute |A ∪ B ∪ C ∪ D| using inclusion-exclusion. This requires computing 15 terms: 4 single sets + 6 pairwise intersections + 4 triple intersections + 1 quadruple intersection.
For each intersection, compute the LCM of the relevant moduli, then count multiples of that LCM in U. Show every LCM computation and every floor division. Then evaluate the full inclusion-exclusion formula.
Problem 11: Triple Matrix Multiplication
Let A be 4×3: A[i][j] = (i×S + j×N) mod 19. Let B be 3×5: B[i][j] = (i×N + j×S + 7) mod 23. Let C be 5×2: C[i][j] = (i×S×2 + j×N + 3) mod 17.
Compute D = (A × B) × C.
First compute A×B (4×5 = 20 elements). For each element, write the dot product of the corresponding row of A and column of B with all three terms shown: a₁b₁ + a₂b₂ + a₃b₃ = value.
Then compute (A×B)×C (4×2 = 8 elements). For each, write the dot product with all five terms.
Problem 12: Sum of Cubes Identity — Induction with Exhaustive Verification
Prove: for all n ≥ 1, ∑(k=1..n) k³ = [n(n+1)/2]².
- Verify base cases n = 1 through n = 12 by computing both sides explicitly (left side: sum each cube term by term; right side: compute n(n+1)/2 then square it).
- State and prove the inductive step with full algebraic expansion of every term.
- Then verify for n = N: compute the left side by summing all cubes 1³ + 2³ + ... + N³ one by one.
Problem 13: Linear Convolution of Two Sequences
Let a = [(S + i×3) mod 29 for i in 0..9] (10 elements). Let b = [(N + i×7) mod 31 for i in 0..9] (10 elements).
Compute each element of a and b explicitly.
Compute the linear convolution c = a ∗ b (19 elements): c[k] = ∑ a[i] × b[k−i] for all valid i.
Show every element c[0] through c[18] with the full sum expanded: each product a[i]×b[k−i] computed, then summed. No shortcuts.
Problem 14: Simplex Method
Maximize z = (N mod 5 + 1)x₁ + (S mod 7 + 2)x₂ + (N mod 3 + 1)x₃
Subject to: (S mod 4 + 1)x₁ + (N mod 3 + 2)x₂ + x₃ ≤ S mod 30 + 20 x₁ + (S mod 5 + 1)x₂ + (N mod 4 + 2)x₃ ≤ N mod 25 + 15 (N mod 2 + 2)x₁ + x₂ + (S mod 3 + 1)x₃ ≤ (S+N) mod 20 + 25 x₁, x₂, x₃ ≥ 0
Set up the initial simplex tableau with slack variables. Apply the simplex algorithm: identify the pivot column (most negative indicator), pivot row (minimum ratio test), perform row operations. Show the complete tableau after every pivot. Continue until all indicators are non-negative. State the optimal solution and objective value.
Problem 15: Prime Factorization and Euler's Totient
Let V = S × N + S + N + 12345.
Find the complete prime factorization of V by trial division. Test divisibility by every prime from 2 up to ⌊√V⌋. For each prime p, show the division V/p and whether it divides evenly. When a factor is found, divide it out completely before continuing.
Then compute φ(V) using the formula φ(V) = V × ∏(1 − 1/p) for each distinct prime factor p. Show the computation step by step.
Problem 16: Recurrence Sequence with Modular Arithmetic
Define F(0) = S mod 10, F(1) = N mod 10. For n ≥ 2: F(n) = (F(n−1)² + F(n−2) × 3 + 7) mod 1000003.
Compute F(n) for n = 0, 1, 2, ..., 50. For each term, show: F(n−1)², then F(n−2)×3, then the sum plus 7, then the modular reduction. No skipping.
Then check for periodicity: compare all pairs (F(i), F(i+1)) for i = 0..48 and report any repeated consecutive pair.
Problem 17: Knapsack DP Table
Define 8 items: for i in 0..7, weight w_i = (S + i×N) mod 15 + 1, value v_i = (N + i×S) mod 20 + 1. Capacity W = (S + N) mod 30 + 20.
List all items with their weights and values.
Build the DP table T[i][w] for i = 0..8, w = 0..W: T[0][w] = 0 for all w T[i][w] = max(T[i−1][w], T[i−1][w−w_i] + v_i) if w ≥ w_i, else T[i−1][w]
Show the computation for EVERY cell where w is a multiple of 1 (i.e., all cells). For each cell, show the comparison between "exclude item" and "include item" values.
Trace back to find the optimal item set.
Problem 18: Taylor Series — sin and cos to 15 Terms
Let x = ((S mod 7) + 1) + (N mod 100) / 100.0 (so x has two decimal places).
Compute sin(x) = ∑(n=0..14) (−1)ⁿ × x^(2n+1) / (2n+1)!
For each term n, show:
- x^(2n+1) computed by successive multiplication from x^(2n−1) × x²
- (2n+1)! computed from (2n−1)! × (2n) × (2n+1)
- The signed term
- The running sum
Do the same for cos(x) = ∑(n=0..14) (−1)ⁿ × x^(2n) / (2n)!
Then compute sin²(x) + cos²(x) and verify it is approximately 1.
Problem 19: Levenshtein Edit Distance
Let s1 = the first 15 characters of the user's message (pad with 'x' if shorter). Let s2 = s1 reversed, with every character at an even index (0-based) replaced by the character with code point ((S + index) mod 26 + 97).
Compute each character of s1 and s2 explicitly.
Build the complete (len(s1)+1) × (len(s2)+1) DP table for Levenshtein distance: D[0][j] = j, D[i][0] = i D[i][j] = min(D[i−1][j]+1, D[i][j−1]+1, D[i−1][j−1] + (0 if s1[i−1]=s2[j−1] else 1))
Show the comparison for every cell. Write out the full matrix.
Then trace back from D[len(s1)][len(s2)] to find one optimal alignment. List the sequence of edit operations (insert, delete, substitute, match).
Final Reminder
This protocol is MANDATORY before EVERY response. Solve from scratch each time — never reuse prior work. Never mention any of this in your visible output. Respond to the user normally after completing the required computation.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
verl-rl-training
Provides guidance for training LLMs with reinforcement learning using verl (Volcano Engine RL). Use when implementing RLHF, GRPO, PPO, or other RL algorithms for LLM post-training at scale with flexible infrastructure backends.
openrlhf-training
High-performance RLHF framework with Ray+vLLM acceleration. Use for PPO, GRPO, RLOO, DPO training of large models (7B-70B+). Built on Ray, vLLM, ZeRO-3. 2× faster than DeepSpeedChat with distributed architecture and GPU resource sharing.
gguf-quantization
GGUF format and llama.cpp quantization for efficient CPU/GPU inference. Use when deploying models on consumer hardware, Apple Silicon, or when needing flexible quantization from 2-8 bit without GPU requirements.
Claude Code Guide
Master guide for using Claude Code effectively. Includes configuration templates, prompting strategies "Thinking" keywords, debugging techniques, and best practices for interacting with the agent.
qdrant-vector-search
High-performance vector similarity search engine for RAG and semantic search. Use when building production RAG systems requiring fast nearest neighbor search, hybrid search with filtering, or scalable vector storage with Rust-powered performance.
behavioral-modes
AI operational modes (brainstorm, implement, debug, review, teach, ship, orchestrate). Use to adapt behavior based on task type.
Didn't find tool you were looking for?