소스 정보
- 저장소
- circlesac/slack2-cli
- 최근 소스 활동
- 2026년 7월 30일 02:55
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/circlesac/slack2-cli --skill slack2명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SOC 직업 분류 기준
SKILL.md 표시 중
| name | slack2 |
| description | Guide for Slack app lifecycle and workspace administration via the slack2 CLI |
| user-invocable | false |
Slack app lifecycle and workspace administration from the terminal. Uses the Slack Manifest API for apps and the signed-in browser session for workspace admin surfaces that Slack does not expose through the official CLI.
Use slack2 for the workflows that the public Slack APIs and official CLI do not expose conveniently:
Do not use or extend slack2 for app display profiles or icons. Manage display_information (name, description, long_description, and background_color) through the app manifest and use the official Slack CLI for manifest synchronization and icon upload.
slack2 login captures a browser or Slack desktop session for list, import,
webhook list/get, and admin workspace operations. When multiple Slack
sessions exist, use slack2 login --workspace example to save one that can
open the target workspace. Normal manifest lifecycle commands use the official
Slack CLI credentials in ~/.slack/credentials.json.
Never print or request the saved session cookie or workspace client token.
Admin JSON output redacts network identifiers unless --include-network is
explicitly requested.
slack login) — credentials stored at ~/.slack/credentials.json# 1. Create an app
slack2 create "My Bot" -w circlesac -s "chat:write,channels:read"
# 2. Install it (opens browser once for OAuth)
slack2 install <app-id>
# 3. Get the bot token
slack2 token <app-id>
slack2 token <app-id> | pbcopy # copy to clipboard
# 4. Manage
slack2 list # show all tracked apps
slack2 update <app-id> -m manifest.json # update manifest
slack2 delete <app-id> # remove app
Always pass an explicit workspace domain:
# Confirm identity and role
slack2 admin whoami --workspace example
# Inspect actual resources
slack2 admin workspace show --workspace example
slack2 admin member list --workspace example --role admin
slack2 admin channel list --workspace example --type public
slack2 admin emoji list --workspace example --aliases
slack2 admin invitation list --workspace example --type pending
# Preview one workspace policy change
slack2 admin profile-policy update \
--workspace example \
--display-phone enabled \
--dry-run
slack2 admin channel-policy update \
--workspace example \
--message-edit-window 60 \
--dry-run
slack2 admin invitation update \
--workspace example \
--domain-join enabled \
--domains example.com \
--dry-run
slack2 admin retention update \
--workspace example \
--scope public \
--mode delete-after \
--days 365 \
--dry-run
# Inspect the schema before changing it
slack2 admin profile-field list --workspace example
slack2 admin profile-field get Title --workspace example --json
# Preview, then apply one field change
slack2 admin profile-field update Title \
--workspace example \
--source api \
--dry-run
slack2 admin profile-field update Title \
--workspace example \
--source api
# Update API-managed member values
slack2 admin member-profile update U0123456789 \
--workspace example \
--title "Engineering" \
--field "Alternate Phone=+1 555 0100" \
--dry-run
Admin commands are resource/action oriented:
slack2 admin workspace show --workspace example
slack2 admin member list --workspace example
slack2 admin channel get engineering --workspace example
slack2 admin invitation show --workspace example
slack2 admin profile-policy show --workspace example
slack2 admin channel-policy show --workspace example
slack2 admin retention show --workspace example
Do not use snapshot or diff as public commands. Normalization may be used
internally for tests, but user-facing admin operations must identify the
resource and action. Do not publish a read-only preference category merely to
make the command tree look complete; add a resource when it has a concrete
Slack operation and tested plan/permission behavior.
Data-source meanings:
member: editable by the member in Slack.api: writable through users.profile.set by an eligible owner/admin token;
not directly editable by the member.scim: owned by the mapped SCIM/identity-provider attribute.Treat plan and workspace capabilities as runtime data. Inspect
profile-field get/list and its valid_sources output before proposing a
change; never assume that a source available in one workspace is available in
another. An unsupported source is rejected before confirmation or mutation.
Mutations show a before/after diff, confirm interactively, support --dry-run,
and reject ambiguous member or field names. Use --yes only for intentional
non-interactive automation.
Retention changes can delete data permanently. Update only one scope per
command, always preview with --dry-run, and do not use --yes unless the
requested policy and duration were explicitly authorized.
For browser-backed workspace policy changes, --dry-run must also verify that
Slack exposes the corresponding admin form. Treat a missing form as a
plan/permission/organization-level capability gap and do not attempt a generic
preference write.
# Paid-workspace access activity; network identifiers are redacted by default
slack2 admin access-log list --workspace example
# Redacted plan and billing event history (no card, contact, or invoice URLs)
slack2 admin billing show --workspace example
slack2 admin billing history --workspace example
# Enterprise-only Audit Logs API
slack2 admin audit-log list \
--workspace example \
--app-id A0123456789 \
--since 2026-01-01T00:00:00Z \
--action user_login
Audit logs and access logs are not interchangeable. Audit Logs API access
requires Enterprise, an org-owner user token, and auditlogs:read. Access logs
use team.accessLogs on eligible paid workspaces.
App metadata is stored under the XDG cache directory (normally
~/.cache/slack2/apps.json). The browser session is stored under the XDG state
directory (normally ~/.local/state/slack2/cookies.json).