[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6XGFR16H7BP2HWB0MP6TWVZ":3,"skill-same:01M6XGFR16H7BP2HWB0MP6TWVZ":100},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":14,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":53,"install":54,"resources":67},"01M6XGFR16H7BP2HWB0MP6TWVZ","stable-baselines3",null,"Production-ready reinforcement learning algorithms (PPO, SAC, DQN, TD3, DDPG, A2C) with scikit-learn-like API. Use for standard RL experiments, quick prototyping, and well-documented algorithm implementations. Best for single-agent RL with Gymnasium environments. For high-performance parallel training, multi-agent systems, or custom vectorized environments, use pufferlib instead.","fadrienne\u002FMyGitHub","fadrienne","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F197874571?v=4","01M6X64V8VWCRSMFZ4EPS2BWXG","Francesca Adrienne","01M6X64VD5MW4F9PHDWQKS7ZAF",0,"MIT","https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"stable baselines3","algorithms","reinforcement learning algorithms","for","production-ready","environments","quick","prototyping","high-performance","synthetic","scikit-learn","performance","ready","parallel","multi-agent","api","vectorized","learn","training","experiments","2026-11-10 10:12:30",false,"---\nname: stable-baselines3\ndescription: Production-ready reinforcement learning algorithms (PPO, SAC, DQN, TD3, DDPG, A2C) with scikit-learn-like API. Use for standard RL experiments, quick prototyping, and well-documented algorithm implementations. Best for single-agent RL with Gymnasium environments. For high-performance parallel training, multi-agent systems, or custom vectorized environments, use pufferlib instead.\ncategory: ml-training\nlicense: MIT license\nmetadata:\n    skill-author: Synthetic Sciences\n---\n\n# Stable Baselines3\n\n## Overview\n\nStable Baselines3 (SB3) is a PyTorch-based library providing reliable implementations of reinforcement learning algorithms. This skill provides comprehensive guidance for training RL agents, creating custom environments, implementing callbacks, and optimizing training workflows using SB3's unified API.\n\n## Core Capabilities\n\n### 1. Training RL Agents\n\n**Basic Training Pattern:**\n\n```python\nimport gymnasium as gym\nfrom stable_baselines3 import PPO\n\n# Create environment\nenv = gym.make(\"CartPole-v1\")\n\n# Initialize agent\nmodel = PPO(\"MlpPolicy\", env, verbose=1)\n\n# Train the agent\nmodel.learn(total_timesteps=10000)\n\n# Save the model\nmodel.save(\"ppo_cartpole\")\n\n# Load the model (without prior instantiation)\nmodel = PPO.load(\"ppo_cartpole\", env=env)\n```\n\n**Important Notes:**\n- `total_timesteps` is a lower bound; actual training may exceed this due to batch collection\n- Use `model.load()` as a static method, not on an existing instance\n- The replay buffer is NOT saved with the model to save space\n\n**Algorithm Selection:**\nUse `references\u002Falgorithms.md` for detailed algorithm characteristics and selection guidance. Quick reference:\n- **PPO\u002FA2C**: General-purpose, supports all action space types, good for multiprocessing\n- **SAC\u002FTD3**: Continuous control, off-policy, sample-efficient\n- **DQN**: Discrete actions, off-policy\n- **HER**: Goal-conditioned tasks\n\nSee `scripts\u002Ftrain_rl_agent.py` for a complete training template with best practices.\n\n### 2. Custom Environments\n\n**Requirements:**\nCustom environments must inherit from `gymnasium.Env` and implement:\n- `__init__()`: Define action_space and observation_space\n- `reset(seed, options)`: Return initial observation and info dict\n- `step(action)`: Return observation, reward, terminated, truncated, info\n- `render()`: Visualization (optional)\n- `close()`: Cleanup resources\n\n**Key Constraints:**\n- Image observations must be `np.uint8` in range [0, 255]\n- Use channel-first format when possible (channels, height, width)\n- SB3 normalizes images automatically by dividing by 255\n- Set `normalize_images=False` in policy_kwargs if pre-normalized\n- SB3 does NOT support `Discrete` or `MultiDiscrete` spaces with `start!=0`\n\n**Validation:**\n```python\nfrom stable_baselines3.common.env_checker import check_env\n\ncheck_env(env, warn=True)\n```\n\nSee `scripts\u002Fcustom_env_template.py` for a complete custom environment template and `references\u002Fcustom_environments.md` for comprehensive guidance.\n\n### 3. Vectorized Environments\n\n**Purpose:**\nVectorized environments run multiple environment instances in parallel, accelerating training and enabling certain wrappers (frame-stacking, normalization).\n\n**Types:**\n- **DummyVecEnv**: Sequential execution on current process (for lightweight environments)\n- **SubprocVecEnv**: Parallel execution across processes (for compute-heavy environments)\n\n**Quick Setup:**\n```python\nfrom stable_baselines3.common.env_util import make_vec_env\n\n# Create 4 parallel environments\nenv = make_vec_env(\"CartPole-v1\", n_envs=4, vec_env_cls=SubprocVecEnv)\n\nmodel = PPO(\"MlpPolicy\", env, verbose=1)\nmodel.learn(total_timesteps=25000)\n```\n\n**Off-Policy Optimization:**\nWhen using multiple environments with off-policy algorithms (SAC, TD3, DQN), set `gradient_steps=-1` to perform one gradient update per environment step, balancing wall-clock time and sample efficiency.\n\n**API Differences:**\n- `reset()` returns only observations (info available in `vec_env.reset_infos`)\n- `step()` returns 4-tuple: `(obs, rewards, dones, infos)` not 5-tuple\n- Environments auto-reset after episodes\n- Terminal observations available via `infos[env_idx][\"terminal_observation\"]`\n\nSee `references\u002Fvectorized_envs.md` for detailed information on wrappers and advanced usage.\n\n### 4. Callbacks for Monitoring and Control\n\n**Purpose:**\nCallbacks enable monitoring metrics, saving checkpoints, implementing early stopping, and custom training logic without modifying core algorithms.\n\n**Common Callbacks:**\n- **EvalCallback**: Evaluate periodically and save best model\n- **CheckpointCallback**: Save model checkpoints at intervals\n- **StopTrainingOnRewardThreshold**: Stop when target reward reached\n- **ProgressBarCallback**: Display training progress with timing\n\n**Custom Callback Structure:**\n```python\nfrom stable_baselines3.common.callbacks import BaseCallback\n\nclass CustomCallback(BaseCallback):\n    def _on_training_start(self):\n        # Called before first rollout\n        pass\n\n    def _on_step(self):\n        # Called after each environment step\n        # Return False to stop training\n        return True\n\n    def _on_rollout_end(self):\n        # Called at end of rollout\n        pass\n```\n\n**Available Attributes:**\n- `self.model`: The RL algorithm instance\n- `self.num_timesteps`: Total environment steps\n- `self.training_env`: The training environment\n\n**Chaining Callbacks:**\n```python\nfrom stable_baselines3.common.callbacks import CallbackList\n\ncallback = CallbackList([eval_callback, checkpoint_callback, custom_callback])\nmodel.learn(total_timesteps=10000, callback=callback)\n```\n\nSee `references\u002Fcallbacks.md` for comprehensive callback documentation.\n\n### 5. Model Persistence and Inspection\n\n**Saving and Loading:**\n```python\n# Save model\nmodel.save(\"model_name\")\n\n# Save normalization statistics (if using VecNormalize)\nvec_env.save(\"vec_normalize.pkl\")\n\n# Load model\nmodel = PPO.load(\"model_name\", env=env)\n\n# Load normalization statistics\nvec_env = VecNormalize.load(\"vec_normalize.pkl\", vec_env)\n```\n\n**Parameter Access:**\n```python\n# Get parameters\nparams = model.get_parameters()\n\n# Set parameters\nmodel.set_parameters(params)\n\n# Access PyTorch state dict\nstate_dict = model.policy.state_dict()\n```\n\n### 6. Evaluation and Recording\n\n**Evaluation:**\n```python\nfrom stable_baselines3.common.evaluation import evaluate_policy\n\nmean_reward, std_reward = evaluate_policy(\n    model,\n    env,\n    n_eval_episodes=10,\n    deterministic=True\n)\n```\n\n**Video Recording:**\n```python\nfrom stable_baselines3.common.vec_env import VecVideoRecorder\n\n# Wrap environment with video recorder\nenv = VecVideoRecorder(\n    env,\n    \"videos\u002F\",\n    record_video_trigger=lambda x: x % 2000 == 0,\n    video_length=200\n)\n```\n\nSee `scripts\u002Fevaluate_agent.py` for a complete evaluation and recording template.\n\n### 7. Advanced Features\n\n**Learning Rate Schedules:**\n```python\ndef linear_schedule(initial_value):\n    def func(progress_remaining):\n        # progress_remaining goes from 1 to 0\n        return progress_remaining * initial_value\n    return func\n\nmodel = PPO(\"MlpPolicy\", env, learning_rate=linear_schedule(0.001))\n```\n\n**Multi-Input Policies (Dict Observations):**\n```python\nmodel = PPO(\"MultiInputPolicy\", env, verbose=1)\n```\nUse when observations are dictionaries (e.g., combining images with sensor data).\n\n**Hindsight Experience Replay:**\n```python\nfrom stable_baselines3 import SAC, HerReplayBuffer\n\nmodel = SAC(\n    \"MultiInputPolicy\",\n    env,\n    replay_buffer_class=HerReplayBuffer,\n    replay_buffer_kwargs=dict(\n        n_sampled_goal=4,\n        goal_selection_strategy=\"future\",\n    ),\n)\n```\n\n**TensorBoard Integration:**\n```python\nmodel = PPO(\"MlpPolicy\", env, tensorboard_log=\".\u002Ftensorboard\u002F\")\nmodel.learn(total_timesteps=10000)\n```\n\n## Workflow Guidance\n\n**Starting a New RL Project:**\n\n1. **Define the problem**: Identify observation space, action space, and reward structure\n2. **Choose algorithm**: Use `references\u002Falgorithms.md` for selection guidance\n3. **Create\u002Fadapt environment**: Use `scripts\u002Fcustom_env_template.py` if needed\n4. **Validate environment**: Always run `check_env()` before training\n5. **Set up training**: Use `scripts\u002Ftrain_rl_agent.py` as starting template\n6. **Add monitoring**: Implement callbacks for evaluation and checkpointing\n7. **Optimize performance**: Consider vectorized environments for speed\n8. **Evaluate and iterate**: Use `scripts\u002Fevaluate_agent.py` for assessment\n\n**Common Issues:**\n\n- **Memory errors**: Reduce `buffer_size` for off-policy algorithms or use fewer parallel environments\n- **Slow training**: Consider SubprocVecEnv for parallel environments\n- **Unstable training**: Try different algorithms, tune hyperparameters, or check reward scaling\n- **Import errors**: Ensure `stable_baselines3` is installed: `uv pip install stable-baselines3[extra]`\n\n## Resources\n\n### scripts\u002F\n- `train_rl_agent.py`: Complete training script template with best practices\n- `evaluate_agent.py`: Agent evaluation and video recording template\n- `custom_env_template.py`: Custom Gym environment template\n\n### references\u002F\n- `algorithms.md`: Detailed algorithm comparison and selection guide\n- `custom_environments.md`: Comprehensive custom environment creation guide\n- `callbacks.md`: Complete callback system reference\n- `vectorized_envs.md`: Vectorized environment usage and wrappers\n\n## Installation\n\n```bash\n# Basic installation\nuv pip install stable-baselines3\n\n# With extra dependencies (Tensorboard, etc.)\nuv pip install stable-baselines3[extra]\n```\n\n","# Stable Baselines3\n\n## Overview\n\nStable Baselines3 (SB3) is a PyTorch-based library providing reliable implementations of reinforcement learning algorithms. This skill provides comprehensive guidance for training RL agents, creating custom environments, implementing callbacks, and optimizing training workflows using SB3's unified API.\n\n## Core Capabilities\n\n### 1. Training RL Agents\n\n**Basic Training Pattern:**\n\n```python\nimport gymnasium as gym\nfrom stable_baselines3 import PPO\n\n# Create environment\nenv = gym.make(\"CartPole-v1\")\n\n# Initialize agent\nmodel = PPO(\"MlpPolicy\", env, verbose=1)\n\n# Train the agent\nmodel.learn(total_timesteps=10000)\n\n# Save the model\nmodel.save(\"ppo_cartpole\")\n\n# Load the model (without prior instantiation)\nmodel = PPO.load(\"ppo_cartpole\", env=env)\n```\n\n**Important Notes:**\n- `total_timesteps` is a lower bound; actual training may exceed this due to batch collection\n- Use `model.load()` as a static method, not on an existing instance\n- The replay buffer is NOT saved with the model to save space\n\n**Algorithm Selection:**\nUse `references\u002Falgorithms.md` for detailed algorithm characteristics and selection guidance. Quick reference:\n- **PPO\u002FA2C**: General-purpose, supports all action space types, good for multiprocessing\n- **SAC\u002FTD3**: Continuous control, off-policy, sample-efficient\n- **DQN**: Discrete actions, off-policy\n- **HER**: Goal-conditioned tasks\n\nSee `scripts\u002Ftrain_rl_agent.py` for a complete training template with best practices.\n\n### 2. Custom Environments\n\n**Requirements:**\nCustom environments must inherit from `gymnasium.Env` and implement:\n- `__init__()`: Define action_space and observation_space\n- `reset(seed, options)`: Return initial observation and info dict\n- `step(action)`: Return observation, reward, terminated, truncated, info\n- `render()`: Visualization (optional)\n- `close()`: Cleanup resources\n\n**Key Constraints:**\n- Image observations must be `np.uint8` in range [0, 255]\n- Use channel-first format when possible (channels, height, width)\n- SB3 normalizes images automatically by dividing by 255\n- Set `normalize_images=False` in policy_kwargs if pre-normalized\n- SB3 does NOT support `Discrete` or `MultiDiscrete` spaces with `start!=0`\n\n**Validation:**\n```python\nfrom stable_baselines3.common.env_checker import check_env\n\ncheck_env(env, warn=True)\n```\n\nSee `scripts\u002Fcustom_env_template.py` for a complete custom environment template and `references\u002Fcustom_environments.md` for comprehensive guidance.\n\n### 3. Vectorized Environments\n\n**Purpose:**\nVectorized environments run multiple environment instances in parallel, accelerating training and enabling certain wrappers (frame-stacking, normalization).\n\n**Types:**\n- **DummyVecEnv**: Sequential execution on current process (for lightweight environments)\n- **SubprocVecEnv**: Parallel execution across processes (for compute-heavy environments)\n\n**Quick Setup:**\n```python\nfrom stable_baselines3.common.env_util import make_vec_env\n\n# Create 4 parallel environments\nenv = make_vec_env(\"CartPole-v1\", n_envs=4, vec_env_cls=SubprocVecEnv)\n\nmodel = PPO(\"MlpPolicy\", env, verbose=1)\nmodel.learn(total_timesteps=25000)\n```\n\n**Off-Policy Optimization:**\nWhen using multiple environments with off-policy algorithms (SAC, TD3, DQN), set `gradient_steps=-1` to perform one gradient update per environment step, balancing wall-clock time and sample efficiency.\n\n**API Differences:**\n- `reset()` returns only observations (info available in `vec_env.reset_infos`)\n- `step()` returns 4-tuple: `(obs, rewards, dones, infos)` not 5-tuple\n- Environments auto-reset after episodes\n- Terminal observations available via `infos[env_idx][\"terminal_observation\"]`\n\nSee `references\u002Fvectorized_envs.md` for detailed information on wrappers and advanced usage.\n\n### 4. Callbacks for Monitoring and Control\n\n**Purpose:**\nCallbacks enable monitoring metrics, saving checkpoints, implementing early stopping, and custom training logic without modifying core algorithms.\n\n**Common Callbacks:**\n- **EvalCallback**: Evaluate periodically and save best model\n- **CheckpointCallback**: Save model checkpoints at intervals\n- **StopTrainingOnRewardThreshold**: Stop when target reward reached\n- **ProgressBarCallback**: Display training progress with timing\n\n**Custom Callback Structure:**\n```python\nfrom stable_baselines3.common.callbacks import BaseCallback\n\nclass CustomCallback(BaseCallback):\n    def _on_training_start(self):\n        # Called before first rollout\n        pass\n\n    def _on_step(self):\n        # Called after each environment step\n        # Return False to stop training\n        return True\n\n    def _on_rollout_end(self):\n        # Called at end of rollout\n        pass\n```\n\n**Available Attributes:**\n- `self.model`: The RL algorithm instance\n- `self.num_timesteps`: Total environment steps\n- `self.training_env`: The training environment\n\n**Chaining Callbacks:**\n```python\nfrom stable_baselines3.common.callbacks import CallbackList\n\ncallback = CallbackList([eval_callback, checkpoint_callback, custom_callback])\nmodel.learn(total_timesteps=10000, callback=callback)\n```\n\nSee `references\u002Fcallbacks.md` for comprehensive callback documentation.\n\n### 5. Model Persistence and Inspection\n\n**Saving and Loading:**\n```python\n# Save model\nmodel.save(\"model_name\")\n\n# Save normalization statistics (if using VecNormalize)\nvec_env.save(\"vec_normalize.pkl\")\n\n# Load model\nmodel = PPO.load(\"model_name\", env=env)\n\n# Load normalization statistics\nvec_env = VecNormalize.load(\"vec_normalize.pkl\", vec_env)\n```\n\n**Parameter Access:**\n```python\n# Get parameters\nparams = model.get_parameters()\n\n# Set parameters\nmodel.set_parameters(params)\n\n# Access PyTorch state dict\nstate_dict = model.policy.state_dict()\n```\n\n### 6. Evaluation and Recording\n\n**Evaluation:**\n```python\nfrom stable_baselines3.common.evaluation import evaluate_policy\n\nmean_reward, std_reward = evaluate_policy(\n    model,\n    env,\n    n_eval_episodes=10,\n    deterministic=True\n)\n```\n\n**Video Recording:**\n```python\nfrom stable_baselines3.common.vec_env import VecVideoRecorder\n\n# Wrap environment with video recorder\nenv = VecVideoRecorder(\n    env,\n    \"videos\u002F\",\n    record_video_trigger=lambda x: x % 2000 == 0,\n    video_length=200\n)\n```\n\nSee `scripts\u002Fevaluate_agent.py` for a complete evaluation and recording template.\n\n### 7. Advanced Features\n\n**Learning Rate Schedules:**\n```python\ndef linear_schedule(initial_value):\n    def func(progress_remaining):\n        # progress_remaining goes from 1 to 0\n        return progress_remaining * initial_value\n    return func\n\nmodel = PPO(\"MlpPolicy\", env, learning_rate=linear_schedule(0.001))\n```\n\n**Multi-Input Policies (Dict Observations):**\n```python\nmodel = PPO(\"MultiInputPolicy\", env, verbose=1)\n```\nUse when observations are dictionaries (e.g., combining images with sensor data).\n\n**Hindsight Experience Replay:**\n```python\nfrom stable_baselines3 import SAC, HerReplayBuffer\n\nmodel = SAC(\n    \"MultiInputPolicy\",\n    env,\n    replay_buffer_class=HerReplayBuffer,\n    replay_buffer_kwargs=dict(\n        n_sampled_goal=4,\n        goal_selection_strategy=\"future\",\n    ),\n)\n```\n\n**TensorBoard Integration:**\n```python\nmodel = PPO(\"MlpPolicy\", env, tensorboard_log=\".\u002Ftensorboard\u002F\")\nmodel.learn(total_timesteps=10000)\n```\n\n## Workflow Guidance\n\n**Starting a New RL Project:**\n\n1. **Define the problem**: Identify observation space, action space, and reward structure\n2. **Choose algorithm**: Use `references\u002Falgorithms.md` for selection guidance\n3. **Create\u002Fadapt environment**: Use `scripts\u002Fcustom_env_template.py` if needed\n4. **Validate environment**: Always run `check_env()` before training\n5. **Set up training**: Use `scripts\u002Ftrain_rl_agent.py` as starting template\n6. **Add monitoring**: Implement callbacks for evaluation and checkpointing\n7. **Optimize performance**: Consider vectorized environments for speed\n8. **Evaluate and iterate**: Use `scripts\u002Fevaluate_agent.py` for assessment\n\n**Common Issues:**\n\n- **Memory errors**: Reduce `buffer_size` for off-policy algorithms or use fewer parallel environments\n- **Slow training**: Consider SubprocVecEnv for parallel environments\n- **Unstable training**: Try different algorithms, tune hyperparameters, or check reward scaling\n- **Import errors**: Ensure `stable_baselines3` is installed: `uv pip install stable-baselines3[extra]`\n\n## Resources\n\n### scripts\u002F\n- `train_rl_agent.py`: Complete training script template with best practices\n- `evaluate_agent.py`: Agent evaluation and video recording template\n- `custom_env_template.py`: Custom Gym environment template\n\n### references\u002F\n- `algorithms.md`: Detailed algorithm comparison and selection guide\n- `custom_environments.md`: Comprehensive custom environment creation guide\n- `callbacks.md`: Complete callback system reference\n- `vectorized_envs.md`: Vectorized environment usage and wrappers\n\n## Installation\n\n```bash\n# Basic installation\nuv pip install stable-baselines3\n\n# With extra dependencies (Tensorboard, etc.)\nuv pip install stable-baselines3[extra]\n```\n\n",{"name":5,"license":44,"category":45,"metadata":46,"description":7},"MIT license","ml-training",{"skill-author":47},"Synthetic Sciences","main","4aa39efd1cdab0b4657ecee16c92a92011a5b10f","openscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3","https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub","https:\u002F\u002Fgithub.com\u002Ffadrienne","2026-10-28 00:43:09",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add fadrienne\u002FMyGitHub --skill stable-baselines3",{"tool":60,"command":61},"bunx","bunx skills add fadrienne\u002FMyGitHub --skill stable-baselines3",{"tool":63,"command":64},"pnpm","pnpm dlx skills add fadrienne\u002FMyGitHub --skill stable-baselines3","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002FSKILL.md",true,[68,74,78,82,86,92,96],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Falgorithms.md","REFERENCE","参考文档",10038,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002Freferences\u002Falgorithms.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Fcallbacks.md",15631,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002Freferences\u002Fcallbacks.md",{"path":79,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fcustom_environments.md",13729,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002Freferences\u002Fcustom_environments.md",{"path":83,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fvectorized_envs.md",14789,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002Freferences\u002Fvectorized_envs.md",{"path":87,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":90,"sourceHtmlUrl":91},"scripts\u002Fcustom_env_template.py","SCRIPT","脚本",9350,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002Fscripts\u002Fcustom_env_template.py",{"path":93,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Fevaluate_agent.py",7335,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002Fscripts\u002Fevaluate_agent.py",{"path":97,"resourceType":88,"resourceTypeDesc":89,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Ftrain_rl_agent.py",5123,"https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fopenscience\u002Fbackend\u002Fcli\u002Fskills\u002Fml-training\u002Fstable-baselines3\u002Fscripts\u002Ftrain_rl_agent.py",[101,133,159,192,217,244],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":112,"publishedAt":39},"01M7167B28PK20HP7R7ZED2DY0","statistical-power","Sample size calculation, power analysis, and effect size conversion for scientific studies. Use BEFORE data collection (a priori) to determine required N, or after (post-hoc) to compute achieved power. Covers parametric tests (t-test, ANOVA, chi-square, proportions, correlation, regression), simulation-based power for complex\u002Fclustered\u002Fnested designs, and power curves. Use this skill when someone asks 'how many samples do I need', 'what is my power', 'what effect size can I detect', or any variant. Pairs with \u002Fexperimental-design (choose design first, then compute power) and \u002Fstatistical-analysis (analyze data after collection).","https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fscientific-agent-skills\u002Fskills\u002Fstatistical-power\u002FSKILL.md",[107],{"categoryNo":108,"categoryName":109,"taxonomyType":110,"taxonomyTypeDesc":111},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132],"power","statistical power","effect","scipy","regression","choose","design","uv","when","Bash","collection","analysis","calculation","ANOVA","conversion","analyze","t-test","chi-square","simulation","sample",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":142,"publishedAt":39},"01M71677EBCM8EPCE9BZCK8505","statistical-analysis","Guided statistical analysis with test selection and reporting. Use when you need help choosing appropriate tests for your data, assumption checking, power analysis, and APA-formatted results. Best for academic research reporting, test selection guidance. For implementing specific models programmatically use statsmodels.","https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fscientific-agent-skills\u002Fskills\u002Fstatistical-analysis\u002FSKILL.md",[139],{"categoryNo":140,"categoryName":141,"taxonomyType":110,"taxonomyTypeDesc":111},"01JBSEEDCAT000000000000008","测试与质量",[124,143,113,144,145,146,121,147,148,149,22,150,151,152,153,154,155,156,157,158],"statistical analysis","academic research","implementing","selection","you","reporting","data","tests","use","with","test","research","results","statsmodels","models","help",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":174,"publishedAt":39},"01M71673R93XAHFH81DBNVNG7H","scientific-writing","Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA\u002FAMA\u002FVancouver), figures\u002Ftables, reporting guidelines (CONSORT\u002FSTROBE\u002FPRISMA), for research papers and journal submissions.","https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fscientific-agent-skills\u002Fskills\u002Fscientific-writing\u002FSKILL.md",[165,168,169],{"categoryNo":166,"categoryName":167,"taxonomyType":110,"taxonomyTypeDesc":111},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":108,"categoryName":109,"taxonomyType":110,"taxonomyTypeDesc":111},{"categoryNo":170,"categoryName":171,"taxonomyType":172,"taxonomyTypeDesc":173},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[175,176,177,178,179,180,181,182,183,184,122,34,185,186,187,188,189,190,148,191],"writing","scientific","scientific writing","Citations","deep","deep research","never","papers","journal","false","prisma","structure","openrouter","Outlines","core skill","read","features",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":202,"publishedAt":39},"01M7166ZPKXBF4EBPHVTJPQBB1","scientific-visualization","Meta-skill for publication-ready figures. Use when creating journal submission figures requiring multi-panel layouts, significance annotations, error bars, colorblind-safe palettes, and specific journal formatting (Nature, Science, Cell). Orchestrates matplotlib\u002Fseaborn\u002Fplotly with publication styles. For quick exploration use seaborn or plotly directly.","https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fscientific-agent-skills\u002Fskills\u002Fscientific-visualization\u002FSKILL.md",[198,201],{"categoryNo":199,"categoryName":200,"taxonomyType":110,"taxonomyTypeDesc":111},"01JBSEEDCAT000000000000013","分析与可视化",{"categoryNo":108,"categoryName":109,"taxonomyType":110,"taxonomyTypeDesc":111},[203,176,204,205,31,25,206,207,208,183,121,209,210,211,212,213,214,215,22,216],"visualization","scientific visualization","error","exploration","meta-skill","Meta","safe","plotly","annotations","formatting","Publication","figures","panel","submission",{"skillNo":218,"name":219,"nameZh":6,"description":220,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":221,"categories":222,"keywords":229,"publishedAt":39},"01M7166VXJWQSSC3RQZP60WBGR","research-code","Debug, profile, review, and restructure Python research and analysis code. Use when analysis scripts crash, produce wrong results, run too slowly, or need a correctness review. Covers: reading tracebacks and diagnosing root causes, hypothesis-driven debugging, reviewing code for common statistical\u002Fnumerical errors, profiling data pipelines, improving reproducibility (seeds, environments, determinism), and structuring analysis scripts for sharing. Distinct from \u002Fexploratory-data-analysis (which understands data) and \u002Fstatistical-analysis (which chooses and runs tests) — this skill focuses on the code itself.","https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fscientific-agent-skills\u002Fskills\u002Fresearch-code\u002FSKILL.md",[223,226],{"categoryNo":224,"categoryName":225,"taxonomyType":110,"taxonomyTypeDesc":111},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":227,"categoryName":228,"taxonomyType":172,"taxonomyTypeDesc":173},"01JBSEEDCAT000000000000030","开发工程师",[230,231,154,232,233,234,235,120,236,121,122,124,237,238,239,240,241,242,190,243],"code","research code","which","memory","data-analysis","errors","debugging","common","review","data pipelines","run","scripts","line","write",{"skillNo":245,"name":246,"nameZh":6,"description":247,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":248,"licenseFileUrl":6,"sourceHtmlUrl":249,"categories":250,"keywords":257,"publishedAt":39},"01M7166CF5HSR7SVZYZFWTDX55","markdown-mermaid-writing","Comprehensive markdown and Mermaid diagram writing skill. Use when creating any scientific document, report, analysis, or visualization. Establishes text-based diagrams as the default documentation standard with full style guides (markdown + mermaid), 24 diagram type references, and 9 document templates.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Ffadrienne\u002FMyGitHub\u002Fblob\u002Fmain\u002Fscientific-agent-skills\u002Fskills\u002Fmarkdown-mermaid-writing\u002FSKILL.md",[251,254,255,256],{"categoryNo":252,"categoryName":253,"taxonomyType":110,"taxonomyTypeDesc":111},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":166,"categoryName":167,"taxonomyType":110,"taxonomyTypeDesc":111},{"categoryNo":108,"categoryName":109,"taxonomyType":110,"taxonomyTypeDesc":111},{"categoryNo":170,"categoryName":171,"taxonomyType":172,"taxonomyTypeDesc":173},[175,258,259,260,261,262,203,263,264,121,122,124,265,266,267,268,269,270,176,190],"markdown mermaid writing","mermaid","markdown","community","diagrams","project","default","team","guides","text","documentation","references","diagram"]