Agent skill

Perforatedai Wandb

by PerforatedAI in PerforatedAI/PerforatedAI

WandB-specific PerforatedAI integration guardrail skill. An agent skill from PerforatedAI/PerforatedAI.

Apache-2.0Auto-check passedAI & LLM Engineering

Install Perforatedai Wandb

skills CLI
$ npx skills add PerforatedAI/PerforatedAI --skill perforatedai-wandb -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install PerforatedAI/PerforatedAI perforatedai-wandb --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/PerforatedAI/PerforatedAI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/perforatedai-wandb .claude/skills/perforatedai-wandb && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
perforatedai-wandb
GitHub stars
237
Token cost
~2.8k tokens
SKILL.md length
1,286 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
Apache-2.0

At a glance

WandB-specific PerforatedAI integration guardrail skill. An agent skill from PerforatedAI/PerforatedAI.

  • Works in 9 steps: Never skip reading wandb.md first. → Never invent alternative WandB flow when… → Always preserve the user's existing… → …
  • Users want WandB sweeps/logging with PerforatedAI
  • SKILL.md covers Purpose, When To Use, Mandatory First Action and Global Guardrails (Always…, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Perforatedai Wandb is an agent skill from PerforatedAI/PerforatedAI. WandB-specific PerforatedAI integration guardrail skill. Use when users want WandB sweeps/logging with PerforatedAI, or when fixing repeated WandB integration mistakes. Enforces strict adherence to the canonical PerforatedAI WandB API doc (api/wandb.md) and includes expandable correction sections.

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Deep learning, Technical documentation and LLM guardrails. It works with Weights & Biases. The repository describes itself as: Add Dendrites to your PyTorch Project. The licence is Apache-2.0.

When your agent uses it

  • Users want WandB sweeps/logging with PerforatedAI
  • Fixing repeated WandB integration mistakes

Example prompts

  • “/perforatedai-wandb”

Workflow steps

9 steps, taken from the first numbered list in SKILL.md.

  1. Never skip reading wandb.md first.
  2. Never invent alternative WandB flow when wandb.md already defines one.
  3. Always preserve the user's existing training logic unless a WandB/PAI requirement forces a change.
  4. For sweep mode, ensure wandb.init() occurs in the sweep training function and config is read from wandb.config.
  5. Apply dendritic hyperparameters from wandb.config before UPA.perforate_model().
  6. Keep save_name aligned with wandb.run.name when available.
  7. Use num_dendrites_integrated (not num_dendrites_added) for architecture-level logging.
  8. Avoid duplicate final metric logging for perforated models.
  9. Keep edits minimal and targeted; do not introduce formatting-only changes.

What it can do on your machine

Read from SKILL.md and the folder at commit 9d317e6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Perforatedai Wandb loads about 2.8k tokens when it runs. Until then it costs about 79 tokens; SKILL.md has 1,286 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~79
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from PerforatedAI/PerforatedAI at commit 9d317e6, republished under its Apache-2.0 licence (© PerforatedAI). 1,286 words, ~2,801 tokens.

Download SKILL.mdSave it as .claude/skills/perforatedai-wandb/SKILL.md (or your agent's skills folder).
name
perforatedai-wandb
description
WandB-specific PerforatedAI integration guardrail skill. Use when users want WandB sweeps/logging with PerforatedAI, or when fixing repeated WandB integration mistakes. Enforces strict adherence to the canonical PerforatedAI WandB API doc (api/wandb.md) and includes expandable correction sections.

PerforatedAI WandB Guardrail Skill

This skill is a strict add-on for WandB + PerforatedAI workflows.

Purpose

  • Follow the canonical guidance in api/wandb.md exactly.
  • Reduce recurring implementation mistakes by enforcing checkpoints.
  • Provide structured places to add new correction notes over time.

When To Use

Use this skill when the user asks for any of the following:

  • WandB sweep integration with PerforatedAI
  • WandB logging for perforated training
  • Fixing a broken or incomplete WandB + PAI setup
  • Guardrails/checklist for WandB + PAI edits

Do not use this as a replacement for base PAI integration steps when WandB is not involved.

Mandatory First Action

Before making any code changes, read the full canonical doc:

If any local habit or previous pattern conflicts with wandb.md, wandb.md wins.

Global Guardrails (Always Enforce)

CRITICAL PRIORITY CHECK #1 (must be explicitly verified first on every WandB integration):

  • Final metrics must always log from global maxima (global_max_val, global_max_train, global_max_params).
  • At end-of-training final logging, the extra final arch log must only run when this condition is true:
    • current_integrated > last_logged_integrated and hasattr(wandb, "run") and wandb.run is not None
  • Never skip or weaken this condition in the final logging block.
  1. Never skip reading wandb.md first.
  2. Never invent alternative WandB flow when wandb.md already defines one.
  3. Always preserve the user's existing training logic unless a WandB/PAI requirement forces a change.
  4. For sweep mode, ensure wandb.init() occurs in the sweep training function and config is read from wandb.config.
  5. Apply dendritic hyperparameters from wandb.config before UPA.perforate_model().
  6. Keep save_name aligned with wandb.run.name when available.
  7. Use num_dendrites_integrated (not num_dendrites_added) for architecture-level logging.
  8. Avoid duplicate final metric logging for perforated models.
  9. Keep edits minimal and targeted; do not introduce formatting-only changes.

Required Execution Flow

Follow these sections in order. For each section:

  • complete the checklist,
  • run the verification,
  • then proceed.

Section 1: Setup And Imports

Checklist
  • import wandb exists.
  • PAI imports exist:
    • from perforatedai import globals_perforatedai as GPA
    • from perforatedai import utils_perforatedai as UPA
  • Sweep-related CLI args exist when needed (--sweep-id, --sweep-count, --wandb-project, optional --wandb-entity).
Verification
  • Confirm script can parse args in both new-sweep and join-sweep modes.
Guardrail: Common Mistakes
  • Mistake pattern: Missing one or more WandB CLI args.
  • Detection rule: wandb.agent/wandb.sweep present but no --wandb-project arg.
  • Correction rule: Add required args exactly as documented in wandb.md.
Space For Future Corrections
  • Additional mistakes for Section 1:
    • TODO:
    • TODO:

Section 2: Sweep Function Pattern

Checklist
  • Dedicated train_with_wandb() (or equivalent) exists.
  • wandb.init() is called inside that function.
  • config = wandb.config is used.
  • If needed, silent mode is overridden for visibility (GPA.pc.set_silent(False)).
Verification
  • Confirm training function runs under wandb.agent(..., function=train_with_wandb, ...).
Guardrail: Common Mistakes
  • Mistake pattern: Using global/static config instead of wandb.config during sweeps.
  • Detection rule: Sweep params exist in config but code never reads wandb.config.
  • Correction rule: Route sweep hyperparameters through wandb.config in the sweep function.
Space For Future Corrections
  • Additional mistakes for Section 2:
    • TODO:
    • TODO:

Section 3: Apply PAI Config Before Perforation

Checklist
  • Dendritic sweep params are read from wandb.config.
  • GPA.pc.set_improvement_threshold(...) and optional forward-function mapping are set before perforation.
  • UPA.perforate_model(...) is called only after required PAI config is applied.
Verification
  • Confirm code path that calls UPA.perforate_model(...) has already applied sweep-controlled PAI settings.
Guardrail: Common Mistakes
  • Mistake pattern: Applying PAI sweep params after perforation.
  • Detection rule: UPA.perforate_model(...) appears before dendritic config setters.
  • Correction rule: Move relevant GPA.pc.set_* calls to before UPA.perforate_model(...).
Space For Future Corrections
  • Additional mistakes for Section 3:
    • TODO:
    • TODO:

Section 4: save_name And Run Identity

Checklist
  • save_name is derived from wandb.run.name when available.
  • Fallback save name exists when run name is unavailable.
  • Local result folders and WandB run identity are consistent.
Verification
  • Confirm a run produces local output folder matching WandB run naming pattern.
Guardrail: Common Mistakes
  • Mistake pattern: Hardcoded save_name causes mixed/overwritten runs.
  • Detection rule: Sweep code present but constant string used for save_name.
  • Correction rule: Use wandb.run.name with safe fallback.
Space For Future Corrections
  • Additional mistakes for Section 4:
    • TODO:
    • TODO:

Section 5: Metric Logging During Training

Checklist
  • Epoch-level metrics are logged (Train*, Val*, optional Test*, LR, params, dendrite count).
  • Logging checks wandb.run exists before wandb.log(...).
Verification
  • Confirm no logging crash when WandB run is missing or disabled.
Guardrail: Common Mistakes
  • Mistake pattern: Unconditional wandb.log(...) causing runtime errors.
  • Detection rule: No run-availability check around logging.
  • Correction rule: Guard wandb.log(...) calls with run existence checks.
Space For Future Corrections
  • Additional mistakes for Section 5:
    • TODO:
    • TODO:

Section 6: Architecture-Level Logging For Perforated Models

Checklist
  • Track architecture maxima only in neuron mode (mode == 'n').
  • Log arch metrics when integrated dendrite count increases.
  • Use num_dendrites_integrated, not attempted count.
  • Reset arch trackers after each successful architecture log.
Verification
  • Confirm one arch log entry per integration step and no duplicates.
Show full SKILL.md (520 more words)Show less
Guardrail: Common Mistakes
  • Mistake pattern: Logging by attempted dendrites (num_dendrites_added).
  • Detection rule: Arch count sourced from num_dendrites_added.
  • Correction rule: Switch to num_dendrites_integrated and track last logged integrated count.
Space For Future Corrections
  • Additional mistakes for Section 6:
    • TODO:
    • TODO:

Section 7: Final Metrics (No Duplicate Logging)

Checklist
  • Perforated model: Final max metrics logged in the restructuring/training-complete path.
  • Final metrics are logged from global maxima (global_max_val, global_max_train, global_max_params).
  • In the final logging block, extra final architecture log only runs when current_integrated > last_logged_integrated and hasattr(wandb, "run") and wandb.run is not None.
  • Non-perforated model: Final metrics logged after normal training completion.
  • No double logging of the same final metrics.
Verification
  • Confirm one final metrics event per run.
Guardrail: Common Mistakes
  • Mistake pattern: Final metrics logged in both training loop and post-training for perforated runs.
  • Detection rule: Two code paths can log Final Max Val for perforated model.
  • Correction rule: Keep only one final-logging path for perforated runs.
  • Mistake pattern: Final metrics logged from last-epoch values instead of global maxima.
  • Detection rule: Final logs do not reference tracked global max variables.
  • Correction rule: Always log final metrics from global max trackers.
  • Mistake pattern: Final logging skips the integrated-count/run-exists gate for extra final architecture log.
  • Detection rule: End-of-training block can emit final arch metrics without current_integrated > last_logged_integrated and hasattr(wandb, "run") and wandb.run is not None.
  • Correction rule: Apply the exact gate only in the final logging block; keep in-loop arch logging behavior as defined in wandb.md.
Space For Future Corrections
  • Additional mistakes for Section 7:
    • TODO:
    • TODO:

Section 8: Sweep Launch/Join Commands

Checklist
  • New-sweep command path is present.
  • Join-existing-sweep path is present.
  • --wandb-project is always required and passed in both modes.
Verification
  • Confirm both command patterns from wandb.md are represented.
Guardrail: Common Mistakes
  • Mistake pattern: Join flow missing explicit project argument.
  • Detection rule: Join path calls wandb.agent without project value from args.
  • Correction rule: Ensure project argument is explicit in all wandb.agent calls.
Space For Future Corrections
  • Additional mistakes for Section 8:
    • TODO:
    • TODO:

Pre-Delivery Self-Check (Must Pass)

Before returning edits to the user, verify all items:

  1. Confirm each Section 1-8 checklist is satisfied.
  2. Confirm edits match guidance from api/wandb.md.
  3. Confirm no extra unrelated refactors or formatting changes were introduced.
  4. Summarize exactly which WandB/PAI requirements were implemented.

If any item fails, fix it before responding.


Correction Ledger (Append-Only)

Use this ledger to capture recurring mistakes and lock in new guardrails. Add new entries whenever a WandB integration error is discovered.

Template:

  • Date:
  • Mistake ID:
  • Context (what task/script):
  • Incorrect behavior:
  • Detection signal:
  • Root cause:
  • Permanent guardrail added:
  • Verification added:
Entries
  • Date: 2026-06-26
    • Mistake ID: WANDB-LOG-001
    • Context: Perforated WandB integration review
    • Incorrect behavior: Tried to skip strict gating condition in final logging and risked incorrect final arch/final metric behavior.
    • Detection signal: End-of-training final logging path existed without enforcing current_integrated > last_logged_integrated and hasattr(wandb, "run") and wandb.run is not None.
    • Root cause: Guardrail was implied but not enforced as top-priority explicit requirement.
    • Permanent guardrail added: Added CRITICAL PRIORITY CHECK #1 requiring global-max-based final logging and exact gate in final logging block.
    • Verification added: Section 7 checklist requires exact final-block gate plus global-max final metric logging.

© PerforatedAI, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/perforatedai-wandb of PerforatedAI/PerforatedAI.

Open the folder on GitHubat commit 9d317e6

Compare with similar skills

Perforatedai Wandb next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Perforatedai Wandb compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Perforatedai Wandb this skillPerforatedAI/PerforatedAI237—~2.8kAutomated safety check: PassApache-2.0
AI Research Reproductionlllllllama/RigorPilot-Skills4971 repos~1.8kAutomated safety check: PassMIT
AI Research Explorelllllllama/RigorPilot-Skills4971 repos~1.7kAutomated safety check: PassMIT
nanoGPT Training GuideOrchestra-Research/AI-Research-SKILLs13k2 repos~1.7kAutomated safety check: PassMIT
Geoffrey HintonK-Dense-AI/mimeo282—~1.8kAutomated safety check: PassMIT
Ian GoodfellowK-Dense-AI/mimeo282—~1.7kAutomated safety check: PassMIT

Similar skills

  • AI Research Reproduction

    lllllllama/RigorPilot-Skills

    Rigor Reproduce compatible skill slug for README-first deep learning repository reproduction.

    497 GitHub starsUsed in 1 repo~1.8k tokens
    AI & LLM EngineeringAuto-check passed
  • AI Research Explore

    lllllllama/RigorPilot-Skills

    Rigor Explore compatible skill slug for meaningful and potentially novel deep learning research candidates.

    497 GitHub starsUsed in 1 repo~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • nanoGPT Training Guide

    Orchestra-Research/AI-Research-SKILLs

    Walks through nanoGPT, Karpathy's compact GPT implementation: training on Shakespeare, reproducing GPT-2, fine-tuning GPT-2 checkpoints and training on your own text.

    13k GitHub starsUsed in 2 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Geoffrey Hinton

    K-Dense-AI/mimeo

    Applies the reasoning style of Geoffrey Hinton, deep learning pioneer and 2018 Turing Award winner.

    282 GitHub stars~1.8k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Ian Goodfellow

    K-Dense-AI/mimeo

    A skill your agent uses when reasoning about generative AI, adversarial machine learning, neural network security, algorithmic fairness, or deep learning fundamentals.

    282 GitHub stars~1.7k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Yoshua Bengio

    K-Dense-AI/mimeo

    Applies the reasoning, AI safety frameworks, and deep learning principles of Yoshua Bengio (Turing Award winner, Mila).

    282 GitHub stars~1.8k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed

More from PerforatedAI/PerforatedAI

  • Perforatedai Complex Methods

    PerforatedAI/PerforatedAI

    Solutions for non-trivial PerforatedAI integration scenarios.

    237 GitHub stars~821 tokensUpdated 3 days ago
    Auto-check passed
  • Perforatedai Libraries Transformers

    PerforatedAI/PerforatedAI

    HuggingFace Transformers integration for PerforatedAI. An agent skill from PerforatedAI/PerforatedAI.

    237 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Perforatedai Plot

    PerforatedAI/PerforatedAI

    Render a single-panel PAI figure of score versus parameter count from sweep CSVs, PAI run folders, or hand-supplied numbers.

    237 GitHub stars~1.6k tokensUpdated 3 days ago
    Auto-check passed
  • Perforatedai

    PerforatedAI/PerforatedAI

    Expert in PerforatedAI library for adding artificial dendrites to PyTorch neural networks.

    237 GitHub stars~17k tokensUpdated 3 days ago
    Auto-check passed
  • Perforatedai Analyze

    PerforatedAI/PerforatedAI

    Analyze PerforatedAI training results and provide optimization recommendations.

    237 GitHub stars~5.1k tokensUpdated 3 days ago
    Auto-check passed
  • Perforatedai Distributed

    PerforatedAI/PerforatedAI

    Multi-GPU setup for PerforatedAI with DataParallel or DistributedDataParallel (DDP).

    237 GitHub stars~5.5k tokensUpdated 3 days ago
    Auto-check passed

Questions about Perforatedai Wandb

What does Perforatedai Wandb do?

WandB-specific PerforatedAI integration guardrail skill. An agent skill from PerforatedAI/PerforatedAI. Perforatedai Wandb is an agent skill from PerforatedAI/PerforatedAI. WandB-specific PerforatedAI integration guardrail skill.

When should I use Perforatedai Wandb?

Perforatedai Wandb fits situations like: users want WandB sweeps/logging with PerforatedAI; fixing repeated WandB integration mistakes.

How do I install Perforatedai Wandb in Claude Code?

Run `npx skills add PerforatedAI/PerforatedAI --skill perforatedai-wandb -a claude-code`. Or copy the skill folder (skills/perforatedai-wandb in PerforatedAI/PerforatedAI) into .claude/skills/perforatedai-wandb in your project. Claude Code loads it when a task matches its description.

How do I install Perforatedai Wandb in Codex?

Run `npx skills add PerforatedAI/PerforatedAI --skill perforatedai-wandb -a codex`. Or copy the skill folder (skills/perforatedai-wandb in PerforatedAI/PerforatedAI) into .agents/skills/perforatedai-wandb in your project. Codex loads it when a task matches its description.

Can I use Perforatedai Wandb in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add PerforatedAI/PerforatedAI --skill perforatedai-wandb -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/perforatedai-wandb, .gemini/skills/perforatedai-wandb, .github/skills/perforatedai-wandb and .opencode/skills/perforatedai-wandb in your project.

What does Perforatedai Wandb need to run?

SKILL.md names no scripts, command-line tools or credentials: Perforatedai Wandb is instructions for the agent only.

Does Perforatedai Wandb access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Perforatedai Wandb safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Perforatedai Wandb use?

Perforatedai Wandb is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Perforatedai Wandb use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Perforatedai Wandb?

Skills that share tags, products or a category with Perforatedai Wandb: AI Research Reproduction (lllllllama/RigorPilot-Skills, 497 stars), AI Research Explore (lllllllama/RigorPilot-Skills, 497 stars), nanoGPT Training Guide (Orchestra-Research/AI-Research-SKILLs, 13k stars) and Geoffrey Hinton (K-Dense-AI/mimeo, 282 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Perforatedai Wandb?

PerforatedAI (a GitHub organization) maintains it in PerforatedAI/PerforatedAI, which has 237 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 8, 2026.

Source: PerforatedAI/PerforatedAI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.