Agent skill
keras
Keras high-level neural network API. Use for deep learning.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/keras
SKILL.md
Keras
Keras 3 is a game changer: it is now multi-backend. You can write Keras code and run it on top of JAX, PyTorch, or TensorFlow.
When to Use
- Portability: Write once, run on any framework.
- Simplicity:
model.fit()is still the cleanest API in the industry. - XLA: Keras 3 enables XLA compilation on all backends by default.
Core Concepts
Backend Agnostic
The Model is just a blueprint. You choose the engine at runtime.
os.environ["KERAS_BACKEND"] = "jax"
Functional API
Defining models as a graph of layers: x = Dense()(inputs).
Keras Core (keras.ops)
A numpy-like API that works across all frameworks (differentiable numpy).
Best Practices (2025)
Do:
- Use Keras 3: Migrate from
tf.keras. - Use JAX backend: For fastest training on TPUs/GPUs.
- Use PyTorch backend: If you need to integrate into a larger PyTorch codebase.
Don't:
- Don't mix
tf.*ops: Usekeras.ops.*to remain framework-agnostic.
References
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?