Skip to content
Development
Skill

/implement

Create a new Jupyter notebook implementing the method from the research paper, using the same data as the baseline. Record implementation details and measured metrics as a structured JSON entry.

From plugin
upsonic
8k10 skills1 agent

Claude Code

$ npx -y skills add Upsonic/Upsonic --skill implement --agent claude-code

SKILL.md

implement.SKILL.md

Implement Skill

Purpose

Create a new Jupyter notebook implementing the method from the research paper, using the same data as the baseline. Record implementation details and measured metrics as a structured JSON entry.

When to Use

Phase 4 — after benchmark metrics are defined and baseline values are extracted.

Input

| Parameter | Type | Description | |-----------|------|-------------| | experiment_path | path | `experiments/{research_name}/` |

Actions

1. **Install dependencies:**

  • Install any new packages identified in Phase 2.
  • Capture installed package names and versions for the log entry below.

2. **Write `{experiment_path}/new_requirements.txt`:**

  • List all packages the new notebook needs (one per line, `package==version`).
  • Include both existing dependencies and new ones from the paper.

3. **Create `{experiment_path}/new.ipynb`** with this structure:

   [Markdown] # {Research Name} - New Method Implementation
   [Markdown] ## 1. Setup & Imports
   [Code]     import statements + dependency checks

   [Markdown] ## 2. Data Loading
   [Code]     load from experiments/{research_name}/current_data/
              (use the SAME data loading logic as current.ipynb)

   [Markdown] ## 3. Data Preprocessing
   [Code]     preprocessing as required by the new method
              (note any differences from baseline preprocessing)

   [Markdown] ## 4. Model Implementation
   [Code]     implement the new method from the paper

   [Markdown] ## 5. Training
   [Code]     train the model
              (use same train/test split as baseline for fair comparison)

   [Markdown] ## 6. Evaluation
   [Code]     compute ALL comparison metrics defined in Phase 3

   [Markdown] ## 7. Results Summary
   [Code]     print all metrics in a structured format

4. **Implementation rules:**

  • Use the SAME train/test split (same random seed, same ratio) as the baseline.
  • Use the SAME data — load from `current_data/`, do not download new data.
  • Compute ALL metrics defined in Phase 3 (including any with `"needs_computation": true`).
  • Add timing measurements for training (`training_time_seconds`).
  • Handle errors gracefully — if the method fails, log why.
  • **Efficiency:** if data is large (100K+ rows), sample it to a manageable size (10K–30K rows). Both notebooks must use the exact same sample. Use paper's recommended hyperparameters — do not run exhaustive grid searches. If training takes more than 10 minutes, reduce data size or simplify config. The goal is a fair comparison, not a production model.

5. **Run the notebook** end-to-end and verify it executes without errors.

6. **Append a Phase 4 entry to `{experiment_path}/log.json`** under `phases`:

   {
     "name": "Phase 4: Implement",
     "completed_at": "2026-04-17T11:30:00Z",
     "new_dependencies_installed": [
       {"name": "catboost", "version": "1.2.5"}
     ],
     "training": {
       "split": 0.2,
       "seed": 42,
       "stratified": true
     },
     "metrics": {
       "accuracy": 0.8721,
       "f1":       0.7310,
       "roc_auc":  0.9288,
       "training_time_seconds": 45.2
     },
     "notebook_executed": true,
     "errors":   [],
     "warnings": []
   }

Do not overwrite earlier entries; append to the `phases` array.

Output

  • `{experiment_path}/new.ipynb` — complete, executed notebook
  • `{experiment_path}/new_requirements.txt` — written
  • `{experiment_path}/log.json` — updated with Phase 4 implementation entry
Read more
@upsonic
Ships withupsonic

Build Autonomous AI Agents in Python

8k10 skills1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
8.0k
Star history of Upsonic/Upsonic on GitHub, a chart by star-history.com

Other skills on upsonic.

analyze_current

analyze_current

Read and understand the current baseline implementation. Extract all relevant information about the existing approach without…

@upsonic@upsonicInstall Skill
benchmark

benchmark

Define the comparison metrics and extract baseline values from the current implementation. Record them as a structured JSON entry…

@upsonic@upsonicInstall Skill
evaluate

evaluate

Compare baseline and new implementation results. Produce the machine-readable final report `result.json`, update…

@upsonic@upsonicInstall Skill
experiment_management

experiment_management

Set up and manage the experiment folder structure. This is Phase 0 — it runs before any analysis begins. All bookkeeping files…

@upsonic@upsonicInstall Skill
progress

progress

Maintain a **machine-readable** progress file so dashboards, CLIs, and notebooks can poll the experiment's state at any time. The…

@upsonic@upsonicInstall Skill
research

research

Read the materialized research source and extract actionable information needed to implement the proposed method. Record the…

@upsonic@upsonicInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills10d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc11d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about implement.

Which coding agents can use implement?
implement installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.