arm2arm/astroagentassistant/reana-workflow-sin-plot

Claude Code and agent skill by arm2arm/astroagentassistant

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Automates creation, submission, monitoring, and retrieval of a REANA workflow that plots a green sine curve using pandas and matplotlib.

Install

npx vskill@latest install arm2arm/astroagentassistant/reana-workflow-sin-plot

SKILL.md

The same SKILL.md was published earlier as arm2arm/astroagentassistant/reana-workflow-sin-plot.

When to Use

Automates creation, submission, monitoring, and retrieval of a REANA workflow that plots a green sine curve using pandas and matplotlib.

Overview

This skill automates the full REANA workflow lifecycle for generating a green sine‑wave plot using pandas and matplotlib.

Prerequisites

  • REANA server URL (default https://reana.cern.ch).
  • REANA access token with workflow-create, workflow-start, workflow-getoutput, and workflow-status scopes.
  • Python 3 on the host machine.

Steps

  1. (Optional) Isolate the REANA client

``bash python3 -m venv ~/reana_venv source ~/reana_venv/bin/activate pip install --upgrade pip pip install reana-client ``

  1. Create workflow directory

``bash mkdir -p ~/reana_sin_workflow && cd ~/reana_sin_workflow ``

  1. Write `reana.yaml`

```yaml name: sin-plot description: Plot a sine curve in green using pandas & matplotlib. environment: image: gitlab-p4n.aip.de:5005/p4nreana/reana-env:py311-astro.9845 commands:

  • python plot_sin.py

```

  1. Write `plot_sin.py`

``python import numpy as np, pandas as pd, matplotlib.pyplot as plt x = np.linspace(0, 2*np.pi, 200) y = np.sin(x) df = pd.DataFrame({'x': x, 'sin(x)': y}) ax = df.plot(x='x', y='sin(x)', color='green', legend=False) ax.set_xlabel('x') ax.set_ylabel('sin(x)') ax.set_title('Sine wave (green)') plt.tight_layout() plt.savefig('sin_plot.png') plt.close() ``

  1. (Optional) `requirements.txt` – needed only when building a custom image.

``text pandas matplotlib numpy ``

  1. Upload workflow

``bash reana-client upload -w sin-plot . ``

  1. Start workflow

``bash reana-client start -w sin-plot ``

  1. Monitor until finished

``bash while true; do status=$(reana-client status -w sin-plot | grep -i status | awk '{print $2}') echo "Current status: $status" [[ "$status" =~ ^(finished|failed)$ ]] && break sleep 5 done ``

  1. Retrieve the image

``bash reana-client getoutput -w sin-plot sin_plot.png . ` The file sin_plot.png` will appear in the current directory.

Pitfalls & Tips

  • Export token and server before any command:

``bash export REANA_SERVER_URL=https://reana.cern.ch # or your dev URL export REANA_ACCESS_TOKEN=YOUR_TOKEN_HERE ``

  • Verify the environment image contains the required libraries; otherwise build a custom Docker image and reference it.
  • Pre‑pull the Docker image if your network blocks on‑the‑fly pulls.
  • Use the virtual environment to avoid system‑wide package conflicts.

Verification

After step 9 you should have a sin_plot.png showing a smooth green sine wave with axis labels and a title.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/arm2arm/astroagentassistant/reana-workflow-sin-plot/badge)](https://verified-skill.com/skills/arm2arm/astroagentassistant/reana-workflow-sin-plot)

Something wrong with this skill or its page? Tell us.