algebra

algebra is a skill for Claude Code, Codex from hamzabellouch/agent-skills. It costs 52 tokens per session (646 once invoked), scanned A, original, MIT.

A reference for algebra, the study of equations, expressions, functions, and their relationships. It covers solving equations and systems, factoring, inequalities, polynomials, logarithms, and graphs.

In plain words
What is it for?
Use it for equation solving, algebraic manipulation, function analysis, polynomial factoring, and logarithmic or exponential problems.
Why use it?
It gives step-by-step methods for simplifying mathematical expressions and finding or checking unknown values.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for equation solving, algebraic manipulation, function analysis, polynomial factoring, and logarithmic or exponential problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hamzabellouch/agent-skills/algebra
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hamzabellouch/agent-skills --skill algebra
Clone the repo
git clone --depth 1 https://github.com/hamzabellouch/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for algebra

README.md
[![agentmods](https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/algebra/github.svg)](https://agentmods.dev/skills/hamzabellouch/agent-skills/algebra)
Your own site
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/algebra"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/algebra/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for algebra

Your own site · 80×15
<a href="https://agentmods.dev/skills/hamzabellouch/agent-skills/algebra"><img src="https://agentmods.dev/badge/skills/hamzabellouch/agent-skills/algebra.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 52 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 646 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00052 $0.00646
Opus 5.5 $0.00021 $0.00258
Sonnet 5.5 $0.00010 $0.00129
Haiku 4.5 $0.00005 $0.00065

Measured today against content hash 1e823ccb078a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

algebra scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Math/Math_Master_Library/algebra/SKILL.md · 32 lines

What it actually says

Algebra

Equation solving

  • Linear: isolate the variable; check solution by substitution.
  • Quadratic ax^2 + bx + c = 0: x = (-b +- sqrt(b^2 - 4ac))/2a; discriminant D > 0 two real, D = 0 one, D < 0 complex pair. Vieta: sum = -b/a, product = c/a. Complete the square: a(x + b/2a)^2 + (c - b^2/4a).
  • Factoring: GCF; difference of squares; sum/difference of cubes a^3 +- b^3 = (a +- b)(a^2 -+ ab + b^2); grouping; rational root theorem (p/q with p | constant, q | leading).
  • Systems: substitution, elimination, matrices (Gaussian elimination); 2 lines: unique, none (parallel), infinite (same).
  • Inequalities: flip the sign when multiplying/dividing by a negative; sign charts for polynomial/rational inequalities; absolute value |x| < a <=> -a < x < a.
  • Rational equations: find LCD, multiply through, reject extraneous roots.
  • Radicals: square both sides then check for extraneous solutions.

Functions

  • Domain/range, composition, inverse (swap x,y and solve), transformations f(x - h) + k, even/odd symmetry, piecewise.
  • Exponential/log: log_b(xy) = log x + log y; log_b(x^k) = k log x; change of base log_b x = ln x / ln b; solve b^x = c by x = ln c / ln b.
  • Polynomials: Remainder theorem, Factor theorem, Fundamental theorem of algebra (n roots with multiplicity), end behavior, synthetic division.

Sequences & series

  • Arithmetic a_n = a_1 + (n-1)d, S_n = n(a_1 + a_n)/2. Geometric a_n = a_1 r^(n-1), S_n = a_1(1 - r^n)/(1 - r), infinite sum a_1/(1 - r) for |r| < 1.
  • Binomial theorem (a+b)^n = sum C(n,k) a^(n-k) b^k.
  • Useful sums: sum k = n(n+1)/2; sum k^2 = n(n+1)(2n+1)/6; sum k^3 = [n(n+1)/2]^2.

Inequalities for competitions

AM-GM, Cauchy-Schwarz (see competition-math-and-olympiads).

Verification

Always substitute back, test special values, and use sympy (see symbolic-computation-sympy) to confirm.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 32 lines · 52 tokens per session scan A 1e823ccb078a

Subscribe to this mod's changes

algebra is a skill published in the GitHub repository hamzabellouch/agent-skills (8 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 646 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.

Related

Other skills, from other repositories

polya-docs

Phase 6 of the Pólya Heuristic Coder: Technical Documentation via Diátaxis Framework (Tutorials, How-To Guides, Reference, Explanation).

GulajavaMinistudio/awesome-copilot-id · 37 tokens

agricultural-sciences-professor

Use when a task needs the judgment of a tenure-track or tenured Agricultural Sciences faculty member at a land-grant university — deciding whether to submit a grant this cycle versus wait, allocating time across the teaching/research/extension appointment split, diagnosing a stalled graduate student or field trial, or…

wonsukchoi/domain-experts · 75 tokens

adapted-physical-education-specialist

Use when a task needs the judgment of an Adapted Physical Education Specialist — writing a legally-defensible PE present level and annual goal from motor/fitness assessment data, choosing the right test battery and alternate items for a student's mobility profile, recommending a placement step on the PE…

wonsukchoi/domain-experts · 84 tokens

area-ethnic-cultural-studies-professor

Use when a task needs the judgment of an Area, Ethnic, or Cultural Studies Professor — designing a joint-appointment course load across two departments, prepping a tenure or mid-tenure review file for interdisciplinary scholarship, deciding whether a course survives an enrollment or political-pressure threat…

wonsukchoi/domain-experts · 89 tokens

art-drama-music-professor-postsecondary

Use when a task needs the judgment of a Postsecondary Art, Drama, or Music Professor — diagnosing a jury/crit score that contradicts a semester of formative work, building a studio-art or performance tenure dossier around exhibitions and productions instead of publications, staffing applied one-on-one lessons or crit…

wonsukchoi/domain-experts · 94 tokens

career-technical-education-teacher-postsecondary

Use when a task needs the judgment of a Career/Technical Education Teacher, Postsecondary — defending a shrinking trade or health-science program against a cutback decision, backward-mapping a shop or lab curriculum to an industry credential's exam blueprint, resolving a competency-based grading dispute where a…

wonsukchoi/domain-experts · 91 tokens