Claude Skill MartBrowse skillsQuick linesLearn by videoTerminal guideWhat is a Skill?
← Back to list

Deploy to Posit Connect

A staged playbook for deploying Python and R apps, APIs, documents, and scripts to a Posit Connect server with the right rsconnect commands.

Dev & CodingIntermediate★ 530⑂ 54AI score 8/10Last updated: Oct 7, 2026

What it does

  • Detects the content type and framework from project files (app.py, app.R, plumber.R, *.qmd, *.Rmd, *.ipynb, manifest.json, bare scripts).
  • Inventories available tooling (rsconnect, uv, Rscript, the R rsconnect package, quarto) and picks the best deployment route.
  • Runs rsconnect deploy <framework> for Python, deployApp()/deployDoc()/deploySite() for R, and falls back to the manifest.json route when R is unavailable.
  • Closes gaps in order: install tooling, generate a manifest, add script front matter, register a new server.
  • Defaults to browser/OAuth login and explicitly forbids scavenging API keys from env vars, .env files, or keychains.
  • Triages common failures: auth errors, the -n vs CONNECT_SERVER conflict, missing requirements.txt, self-signed TLS, missing server-side Quarto/Jupyter/rmarkdown.

Who it's for

  • Data scientists and analysts publishing Shiny, Streamlit, Dash, Plumber, or Quarto content to Posit Connect.
  • Engineers automating deploys in CI or headless shells who don't want to re-read rsconnect flags each time.
  • Teams with mixed R and Python projects targeting one Connect server.

Examples

  1. "Deploy this Streamlit app to dogfood" → confirm framework → rsconnect list to verify the account → rsconnect deploy streamlit ./my-app -t "Title".
  2. "No R installed but I need this Shiny app up" → check for manifest.json, deploy with rsconnect deploy manifest ./manifest.json, or report the blocker clearly.
  3. "Schedule this Python ETL script on Connect" → add the # %% [markdown] front matter with a title, then rsconnect deploy quarto script.py.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/posit-dev/skills/HEAD/connect/deploy-to-connect/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on Claude Skill Mart.
Copy the connect/deploy-to-connect folder from the GitHub repo posit-dev/skills into my ~/.claude/skills/deploy-to-connect/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/posit-dev/skills.git /tmp/posit-skills && mkdir -p ~/.claude/skills/deploy-to-connect && cp -r /tmp/posit-skills/connect/deploy-to-connect/* ~/.claude/skills/deploy-to-connect/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal.
  2. Clone the skills repo: git clone https://github.com/posit-dev/skills.git /tmp/posit-skills
  3. Create the skill folder: mkdir -p ~/.claude/skills/deploy-to-connect
  4. Copy the files: cp -r /tmp/posit-skills/connect/deploy-to-connect/* ~/.claude/skills/deploy-to-connect/
  5. Restart Claude Code, then ask something like "deploy this app to Posit Connect" to trigger the skill.
  6. (Recommended) Pre-install the tooling: uv tool install rsconnect-python for Python, or install.packages("rsconnect") in R.
  7. For a new server, log in first with rsconnect login https://connect.example.com so no API key ever enters the chat.