install-putior
Über
Diese Fähigkeit installiert und konfiguriert das R-Paket `putior` zur Erstellung von Workflow-Visualisierungen aus Code-Annotationen. Sie übernimmt die Installation von CRAN oder GitHub, richtet optionale Abhängigkeiten ein und überprüft die vollständige Pipeline von der Annotation zum Diagramm. Verwenden Sie sie für das initiale Setup, die Umgebungsvorbereitung oder wenn eine nachgelagerte Fähigkeit `putior` erfordert.
Schnellinstallation
Claude Code
Empfohlennpx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/install-putiorKopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren
Dokumentation
Install putior
Install putior R package + optional dependencies so annotation-to-diagram pipeline ready to use.
When Use
- Setting up putior for first time in project or environment
- Preparing machine for workflow visualization tasks
- Downstream skill (analyze-codebase-workflow, generate-workflow-diagram) needs putior installed
- Restoring environment after R version upgrade or renv wipe
Inputs
- Required: Access to R installation (>= 4.1.0)
- Optional: Install from CRAN (default) or GitHub dev version
- Optional: Which optional dependency groups to install: MCP (
mcptools,ellmer), interactive (shiny,shinyAce), logging (logger), ACP (plumber2)
Steps
Step 1: Verify R Installation
Confirm R available + meets minimum version requirement.
R.Version()$version.string
# Must be >= 4.1.0
# From WSL with Windows R
"/mnt/c/Program Files/R/R-4.5.2/bin/Rscript.exe" -e "cat(R.version.string)"
Got: R version string printed, >= 4.1.0.
If fail: Install or upgrade R. On Windows, download from https://cran.r-project.org/bin/windows/base/. On Linux, use sudo apt install r-base.
Step 2: Install putior
Install from CRAN (stable) or GitHub (dev).
# CRAN (recommended)
install.packages("putior")
# GitHub dev version (if latest features needed)
remotes::install_github("pjt222/putior")
Got: Package installs no errors. library(putior) loads silently.
If fail: CRAN installation fails with "not available for this version of R"? Use GitHub version. GitHub fails? Check remotes installed: install.packages("remotes").
Step 3: Install Optional Dependencies
Install optional packages based on required functionality.
# MCP server integration (for AI assistant access)
remotes::install_github("posit-dev/mcptools")
install.packages("ellmer")
# Interactive sandbox
install.packages("shiny")
install.packages("shinyAce")
# Structured logging
install.packages("logger")
# ACP server (agent-to-agent communication)
install.packages("plumber2")
Got: Each package installs no errors.
If fail: mcptools → ensure remotes installed first. System dependency errors on Linux? Install required libraries (sudo apt install libcurl4-openssl-dev for httr2 dependency).
Step 4: Verify Installation
Run basic pipeline to confirm everything works.
library(putior)
# Check package version
packageVersion("putior")
# Verify core functions are available
stopifnot(
is.function(put),
is.function(put_auto),
is.function(put_diagram),
is.function(put_generate),
is.function(put_merge),
is.function(put_theme)
)
# Test basic pipeline with a temp file
tmp <- tempfile(fileext = ".R")
writeLines("# put id:'test', label:'Hello putior'", tmp)
cat(put_diagram(put(tmp)))
Got: Mermaid flowchart code printed to console containing test + Hello putior.
Key defaults: All scan functions (
put(),put_auto(),put_generate(),put_merge()) default torecursive = TRUE, scanning subdirectories automatic. Breaking change from pre-0.2.0 versions where default wasFALSE. All scan functions also acceptexcludeparameter for regex-based file filtering (put("./src/", exclude = "test_")).
Optional shiny package installed? Try interactive sandbox:
putior::run_sandbox()
Launches browser-based editor where you experiment with PUT annotation syntax + see diagrams rendered real time.
If fail: put not found? Package didn't install correctly. Reinstall with install.packages("putior", dependencies = TRUE). Diagram empty? Verify temp file created + annotation syntax uses single quotes inside double quotes.
Checks
-
library(putior)loads no errors -
packageVersion("putior")returns valid version -
put()with file containing valid PUT annotation returns data frame with one row -
put_diagram()produces Mermaid code starting withflowchart - All requested optional dependencies load no errors
Pitfalls
- Wrong quote nesting: PUT annotations use single quotes inside annotation:
id:'name', notid:"name"(conflicts with comment string delimiter in some contexts). - Missing Pandoc for vignettes: Plan to build putior vignettes locally? Ensure
RSTUDIO_PANDOCset in.Renviron. - renv isolation: Project uses renv? Must install putior inside renv library. Run
renv::install("putior")notinstall.packages("putior"). - GitHub rate limits: Installing
mcptoolsfrom GitHub may fail withoutGITHUB_PAT. Set one viausethis::create_github_token().
See Also
analyze-codebase-workflow— next step after installation to survey codebaseconfigure-putior-mcp— set up MCP server after installing optional depsmanage-renv-dependencies— manage putior within renv environmentconfigure-mcp-server— general MCP server configuration
GitHub Repository
Frequently asked questions
What is the install-putior skill?
install-putior is a Claude Skill by pjt222. Skills package instructions and resources that Claude loads on demand, so Claude can perform install-putior-related tasks without extra prompting.
How do I install install-putior?
Use the install commands on this page: add install-putior to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does install-putior belong to?
install-putior is in the Meta category, tagged ai, api, mcp, automation and design.
Is install-putior free to use?
Yes. install-putior is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Verwandte Skills
Diese Skill bietet eine produktionsgetestete Einrichtung für Content Collections – ein TypeScript-first-Tool, das Markdown/MDX-Dateien in typsichere Datensammlungen mit Zod-Validierung umwandelt. Verwenden Sie ihn beim Erstellen von Blogs, Dokumentationsseiten oder inhaltsstarken Vite + React-Anwendungen, um Typsicherheit und automatische Inhaltsvalidierung zu gewährleisten. Er behandelt alles von der Vite-Plugin-Konfiguration und MDX-Kompilierung bis hin zur Deployment-Optimierung und Schema-Validierung.
Diese Fähigkeit ermöglicht es Entwicklern, Anwendungen mit der Polymarket-Prognosemärkte-Plattform zu erstellen, einschließlich API-Integration für Handel und Marktdaten. Sie bietet außerdem Echtzeit-Datenstreaming über WebSocket, um Live-Trades und Marktaktivitäten zu überwachen. Nutzen Sie sie zur Implementierung von Handelsstrategien oder zur Erstellung von Tools, die Live-Marktaktualisierungen verarbeiten.
Diese Fähigkeit unterstützt Entwickler dabei, OpenCode-Plugins zu erstellen, die in über 25 Ereignistypen wie Befehle, Dateien und LSP-Operationen eingreifen. Sie bietet die Plugin-Struktur, Event-API-Spezifikationen und Implementierungsmuster für JavaScript/TypeScript-Module. Nutzen Sie sie, wenn Sie den Lebenszyklus des OpenCode KI-Assistenten mit benutzerdefinierter ereignisgesteuerter Logik abfangen, überwachen oder erweitern müssen.
SGLang ist ein hochperformantes LLM-Serving-Framework, das sich auf schnelle, strukturierte Generierung für JSON, Regex und agentenbasierte Workflows unter Verwendung seines RadixAttention-Prefix-Cachings spezialisiert. Es bietet deutlich schnellere Inferenz, insbesondere für Aufgaben mit wiederholten Präfixen, was es ideal für komplexe, strukturierte Ausgaben und Mehrfachdialoge macht. Wählen Sie SGLang gegenüber Alternativen wie vLLM, wenn Sie constrained decoding benötigen oder Anwendungen mit umfangreicher Präfix-Weitergabe entwickeln.
