Skip to content
Development
Skill

/analyze_current

Read and understand the current baseline implementation. Extract all relevant information about the existing approach without modifying anything, and record the analysis as a structured JSON entry.

From plugin
upsonic
8k10 skills1 agent

Claude Code

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

SKILL.md

analyze_current.SKILL.md

Analyze Current Skill

Purpose

Read and understand the current baseline implementation. Extract all relevant information about the existing approach without modifying anything, and record the analysis as a structured JSON entry.

When to Use

Phase 1 — after experiment setup is complete and files are copied to the experiment folder.

Input

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

Actions

1. **Read `{experiment_path}/current.ipynb`** and extract:

  • Model/algorithm used
  • Preprocessing steps (encoding, scaling, feature selection, etc.)
  • Training approach (train/test split ratio, cross-validation, etc.)
  • Hyperparameters
  • Metrics used and their values
  • Target variable and feature set

2. **Extract dependencies:**

  • Scan all import statements in the notebook.
  • Write `{experiment_path}/current_requirements.txt` with one package per line (`package==version` if determinable, otherwise just `package`).

3. **Read `{experiment_path}/current_data/`** (or, for code-based data, the download spec):

  • Identify data format (CSV, parquet, etc.)
  • Note number of rows, columns
  • Note data types and any special handling

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

   {
     "name": "Phase 1: Analyze Current",
     "completed_at": "2026-04-17T10:15:00Z",
     "model": "XGBoost",
     "preprocessing": [
       "Drop rows with NaN",
       "LabelEncoder on target",
       "LabelEncoder on categorical features",
       "StandardScaler on numerical features"
     ],
     "training": {
       "split": 0.2,
       "seed": 42,
       "stratified": true
     },
     "hyperparameters": {
       "n_estimators": 200,
       "max_depth": 6,
       "learning_rate": 0.1
     },
     "metrics": {
       "accuracy": 0.8726,
       "f1":       0.7277,
       "roc_auc":  0.9274
     },
     "target": "income",
     "features_count": 14,
     "data": {
       "source": "ucimlrepo fetch_ucirepo(id=2)",
       "format": "pandas.DataFrame",
       "rows": 45222,
       "cols": 14
     },
     "notes": "Data downloaded programmatically; both notebooks must use the same source."
   }

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

Output

  • `{experiment_path}/log.json` — updated with complete Phase 1 analysis entry
  • `{experiment_path}/current_requirements.txt` — written
  • No other files created or modified
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.

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
implement

implement

Create a new Jupyter notebook implementing the method from the research paper, using the same data as the baseline. Record…

@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 analyze_current.

Which coding agents can use analyze_current?
analyze_current 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.