create-slack-app: setting the AI provider API key ends in a manual .env edit

Open Beginner friendly
#187 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@mwbrooks is already working on this.

Since Oct 21, 2026.

  • #188 by @mwbrooks — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
python

Research direction

Start by locating the create-slack-app skill and reading Step 4c alongside its .env.sample instructions. Update the flow to have the developer copy .env.sample to .env, fill in the provider key, and confirm; then verify the variable is set without printing its value. Done when the skill provides this noninteractive path without asking for the key in chat.

Written by the indexing model from the issue text.

Description

When create-slack-app scaffolds an agent template, Step 4c sets the provider key with slack env set <NAME> <value>. To keep the key out of the chat, the agent instead asks the developer to run slack env set ANTHROPIC_API_KEY themselves and let the CLI prompt for the value. In Claude Code the ! shell isn't interactive, so the prompt fails, and the developer falls back to copying .env.sample to .env and editing it by hand.

slack env set itself works without a TTY when the value is passed as an argument, so the gap is in the skill: there's no path that keeps the key out of the chat and doesn't need an interactive prompt.

Proposal: in Step 4c, copy .env.sample to .env, tell the developer which variable to fill in and where to get the key, and wait for them to confirm. Then check the variable is set without printing it.

Found during a live run of the plan-slack-app skill handing off to create-slack-app.

Dominant language
Python
Stars
173
Forks
46
Avg merge
1d 47m
Merged PRs (30d)
38

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from slackapi/slack-skills-plugin

All issues in slackapi/slack-skills-plugin

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.