Agent Skill
2/7/2026

pfcloudlist

List all cloud projects in your PlanFlow account

B
bekachkhiro
0GitHub Stars
1Views
npx skills add BekaChkhiro/claude-plan-plugin

SKILL.md

Namepfcloudlist
DescriptionList all cloud projects in your PlanFlow account

name: pfCloudList description: List all cloud projects in your PlanFlow account

PlanFlow Cloud List

List all cloud projects in your PlanFlow account.

Usage

/pfCloudList

Step 0: Load Configuration

function getConfig() {
  const localConfigPath = "./.plan-config.json"
  let localConfig = {}
  if (fileExists(localConfigPath)) {
    try { localConfig = JSON.parse(readFile(localConfigPath)) } catch {}
  }

  const globalConfigPath = expandPath("~/.config/claude/plan-plugin-config.json")
  let globalConfig = {}
  if (fileExists(globalConfigPath)) {
    try { globalConfig = JSON.parse(readFile(globalConfigPath)) } catch {}
  }

  return { ...globalConfig, ...localConfig, _localConfig: localConfig, _globalConfig: globalConfig }
}

const config = getConfig()
const language = config.language || "en"
const cloudConfig = config.cloud || {}
const isAuthenticated = !!cloudConfig.apiToken
const currentProjectId = cloudConfig.projectId
const apiUrl = cloudConfig.apiUrl || "https://api.planflow.tools"

const t = JSON.parse(readFile(`locales/${language}.json`))

Step 1: Validate Authentication

If not authenticated:

āŒ {t.commands.sync.notAuthenticated}

Run: /pfLogin

Step 2: List Projects

API Call:

curl -s \
  -H "Authorization: Bearer {TOKEN}" \
  "https://api.planflow.tools/projects"

Output:

šŸ“ {t.commands.cloud.listProjects}

  ID        Name              Tasks    Progress
  ────────  ────────────────  ───────  ──────────
  abc123    E-commerce App    24/45    53%
  def456    Mobile API        12/18    67%
  ghi789    Dashboard         8/12     75%

  āœ“ Current: abc123 (E-commerce App)

šŸ’” Commands:
  /pfCloudLink <id>     Link to a project
  /pfCloudUnlink        Disconnect current
  /pfCloudNew           Create new project

Error Handling

Network Error:

āŒ Network error. Please check your connection.
Skills Info
Original Name:pfcloudlistAuthor:bekachkhiro