Agent skill · Audited from source
Gradient Methods
skill · vibeeval/vibecosystemMIT licenceAudited 14 Oct 2026 · source 87cf3db0e633
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 87cf3db0e633 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Problem-solving strategies for gradient methods in optimization
Cite
Cite this page
ModelsAtlas. “Gradient Methods (vibeeval/vibecosystem)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/vibeeval/gradient-methods
Trust audit
Audit 0.4.1 · source read 14 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 0 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (0)
No findings at any severity. We re-audit when the source changes.
Audit 0.4.1 · source sha 87cf3db0e633 · 14 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publishervibeeval GitHub userOwner of the repository this skill is read from
- Source foldervibeeval/vibecosystem/skills/math/optimization/gradient-methodsThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdict87cf3db0e633A new audit runs when the source changes
- Repository statusNot archivedLast push 66 days ago
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Problem-solving strategies for gradient methods in optimization
---
name: gradient-methods
description: "Problem-solving strategies for gradient methods in optimization"
allowed-tools: [Bash, Read]
---
# Gradient Methods
## When to Use
Use this skill when working on gradient-methods problems in optimization.
## Decision Tree
1. **Basic Gradient Descent**
- Update: x_{k+1} = x_k - alpha * grad f(x_k)
- Step size alpha: fixed, diminishing, or line search
- Convergence: O(1/k) for convex, linear for strongly convex
2. **Step Size Selection**
| Method | Approach |
|--------|----------|
| Fixed | alpha constant (requires tuning) |
| Backtracking | Armijo condition: f(x - alpha*grad) <= f(x) - c*alpha*||grad||^2 |
| Exact line search | minimize f(x - alpha*grad) over alpha |
| Adaptive | Adam, RMSprop (ML applications) |
3. **Accelerated Methods**
- Momentum: add velocity term
- Nesterov: look-ahead gradient
- Conjugate gradient: for quadratic functions
- `scipy.optimize.minimize(f, x0, method='CG')` - conjugate gradient
4. **Newton's Method**
- Update: x_{k+1} = x_k - H^{-1} * grad f
- Requires Hessian (expensive but quadratic convergence)
- Quasi-Newton (BFGS): approximate Hessian
- `scipy.optimize.minimize(f, x0, method='BFGS')`
5. **Convergence Diagnostics**
- Monitor ||grad f|| < tolerance
- Check function value decrease
- Watch for oscillation (step size too large)
- `sympy_compute.py diff "f" --var x` for gradient
## Tool Commands
### Scipy_Bfgs
```bash
uv run python -c "from scipy.optimize import minimize; res = minimize(lambda x: (x[0]-1)**2 + 100*(x[1]-x[0]**2)**2, [0, 0], method='BFGS'); print('Rosenbrock min at', res.x)"
```
### Scipy_Cg
```bash
uv run python -c "from scipy.optimize import minimize; res = minimize(lambda x: x[0]**2 + x[1]**2, [1, 1], method='CG'); print('Min at', res.x)"
```
### Sympy_Gradient
```bash
uv run python -m runtime.harness scripts/sympy_compute.py diff "x**2 + y**2" --var "[x, y]"
```
## Key Techniques
*From indexed textbooks:*
- [nonlinear programming_tif] Gradient Methods** - These methods use gradient information to iteratively approach the optimum. Convergence** - Addressing convergence properties. Descent Directions and Stepsize Rules:** Focuses on how to choose descent directions and appropriate step sizes.
- [nonlinear programming_tif] The application of gradient methods to unconstrained optimal control prob- lems is straightforward in principle. For example the steepest descent method takes the form W = b oMV H, (kb ph,y), i=0,. Pl = Thus, given u¥, one computes zF by forward propagation of the system equation, and then p*¥ by backward propagation of the adjoint equation.
- [nonlinear programming_tif] Footer or Trailing Row**: - There is an empty concluding element indicated by a single ". Overall, this table serves as an index for chapters or sections within a document, with particular emphasis on optimization methods and related mathematical strategies, as evidenced by the listed methods like Gradient, Newton, and other derivative techniques. The scattered letters and empty slots may denote a form of stylistic or formatting choice rather than meaningful content in this context.
- [nonlinear programming_tif] Zoutendijk’s method uses tw ) oscalatse)Oand'ye 0,1), a i ! P, where ¢ — YTMk € and my is the firs onnegative k ok 28 %, ) it T #(z*,7"e) < -y (a) Show that (b) Prove that {d*} is gradient relat ishi i i Tt pones A related, thus establishing stationarity of the 2. Min-H Method for Optimal Control) Consider the problem of findin g sequences u = (z1,22,.
- [nonlinear programming_tif] Mustration of the function f of Exercise 1. Stability) (www) We are often interested in whether optimal solutions change radically when the problem data are slightly perturbed. This issue is addressed by stability analysis, to be contrasted with sensitivity analysis, which deals with how much optimal solutions change when problem data change.
## Cognitive Tools Reference
See `.claude/skills/math-mode/SKILL.md` for full tool documentation.Excerpt, first 4,055 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit 87cf3db
uv run python -c "from scipy.optimize import minimize; res = minimize(lambda x: (x[0]-1)**2 + 100*(x[1]-x[0]**2)**2, [0, 0] uv run python -c "from scipy.optimize import minimize; res = minimize(lambda x: x[0]**2 + x[1]**2, [1, 1], method='CG'); pr uv run python -m runtime.harness scripts/sympy_compute.py diff "x**2 + y**2" --var "[x, y]"
git clone https://github.com/vibeeval/vibecosystem git -C vibecosystem checkout 87cf3db0e633
Commands as the repository documents them: shown, never run by us. Our verdict covers commit 87cf3db0e633 only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
87cf3db0e633
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/vibeeval/gradient-methods/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All automation skills →vibeeval/vibecosystem
Transform session learnings into permanent capabilities (skills, rules, agents). Use when asked to "improve setup", "learn from sessions", "compound learnings", or "what patterns should become skills".
egonex-ai/understand-anything
Use when you need to generate an onboarding guide for new team members joining a project
egonex-ai/understand-anything
Use when you need a deep-dive explanation of a specific file, function, or module in the codebase
egonex-ai/understand-anything
Extract business domain knowledge from a codebase and generate an interactive domain flow graph. Works standalone (lightweight scan) or derives from an existing /understand knowledge graph.
egonex-ai/understand-anything
Launch the interactive web dashboard to visualize a codebase's knowledge graph
egonex-ai/understand-anything
Use when you need to ask questions about a codebase or understand code using a knowledge graph
Add this badge to your README
[](https://modelsatlas.com/skills/vibeeval/gradient-methods/)
<a href="https://modelsatlas.com/skills/vibeeval/gradient-methods/"><img src="https://modelsatlas.com/skills/vibeeval/gradient-methods/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Gradient Methods
What does the Gradient Methods skill do?
Is Gradient Methods safe to install?
What can Gradient Methods access on my machine?
How current is this page?
Sources
- github.com/vibeeval/vibecosystem/tree/main/skills/math/optimizat — the audited source at commit 87cf3db0e633 and every finding aboveObserved · 14 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Gradient Methods skill do?
- Is Gradient Methods safe to install?
- What can Gradient Methods access on my machine?