aliyun-profile

aliyun-profile is a skill for Codex from DongLiStudio/personal-agent-foundation. It costs 91 tokens per session (1,109 once invoked), scanned A, original, Apache-2.0.

A procedure for managing Alibaba Cloud command-line profiles and Codeup access. A profile stores a chosen account connection, while a personal access token is a separate credential for Codeup.

In plain words
What is it for?
It helps add, verify, switch, migrate, and remove account profiles, manage Codeup token access, and choose the correct organization for a project.
Why use it?
It prevents different authentication methods, accounts, and organizations from being mixed up. It also keeps sensitive credentials out of files, commands, logs, and reports.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit It helps add, verify, switch, migrate, and remove account profiles, manage Codeup token access, and choose the correct organization for a project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/donglistudio/personal-agent-foundation/aliyun-profile
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add DongLiStudio/personal-agent-foundation --skill aliyun-profile
Clone the repo
git clone --depth 1 https://github.com/DongLiStudio/personal-agent-foundation

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for aliyun-profile

README.md
[![agentmods](https://agentmods.dev/badge/skills/donglistudio/personal-agent-foundation/aliyun-profile/github.svg)](https://agentmods.dev/skills/donglistudio/personal-agent-foundation/aliyun-profile)
Your own site
<a href="https://agentmods.dev/skills/donglistudio/personal-agent-foundation/aliyun-profile"><img src="https://agentmods.dev/badge/skills/donglistudio/personal-agent-foundation/aliyun-profile/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for aliyun-profile

Your own site · 80×15
<a href="https://agentmods.dev/skills/donglistudio/personal-agent-foundation/aliyun-profile"><img src="https://agentmods.dev/badge/skills/donglistudio/personal-agent-foundation/aliyun-profile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,109 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01109
Opus 5.5 $0.00036 $0.00444
Sonnet 5.5 $0.00018 $0.00222
Haiku 4.5 $0.00009 $0.00111

Measured 1mo ago against content hash 52d798956f77, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aliyun-profile scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/yunxiao-credential-slot.ps1), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

template/GLOBAL/.agents/skills/aliyun-profile/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

阿里云与云效账号管理

本 Skill 只管理跨项目身份、连接和授权生命周期。具体云效业务流程由项目 Skill 负责。

先理解两套认证

  • 阿里云通用 OpenAPI 使用 aliyun configure 的多 Profile,可选 AK、CloudSSO、OAuth、RAM Role 等认证方式。
  • 云效 aliyun devops 数据面不读取上述 AK/SK Profile,而使用 PAT;中心版还需要组织 ID,Region 版需要 API Base URL。
  • 对用户提供统一的“逻辑 Profile”体验,但不得把两套底层认证混为一谈或从一种身份推导另一种身份。

固定边界

  • 按需读取 {{AGENT_ROOT}}\GLOBAL\ALIYUN_PROFILES.md,再读取项目 AGENTS.md 的覆盖规则。优先级为:用户当前明确主体 → 项目规则 → GLOBAL 默认;同级冲突时先确认。
  • ALIYUN_PROFILES.md 只记录非敏感映射。AK/SK、STS、PAT、OAuth/SSO 票据和恢复码不得写入 GLOBAL、项目、日志、命令参数或报告。
  • 云效 PAT 优先由宿主安全凭据库或隐藏输入进入当前进程环境;仅为单次命令设置 ALIBABA_CLOUD_YUNXIAO_*,结束后清理。不得把 PAT 持久化到仓库、PowerShell profile、shell rc、普通环境变量或明文配置。
  • Windows 宿主需要长期复用 PAT 时,使用 scripts/yunxiao-credential-slot.ps1 建立 DPAPI CurrentUser 凭据槽。脚本必须先只读验证用户与组织,再加密落盘;调用时只把 PAT 注入当前目标进程,结束后清理。不得复制凭据槽文件到其他电脑或用户。
  • 修改凭据槽脚本后,必须同时用 Windows PowerShell 5.1 (powershell.exe) 与当前 PowerShell (pwsh) 执行 -Action self-test;不得只在较新的 .NET 运行时验证。
  • 交互式连接优先从 powershell.exe -NoProfile 的干净子进程启动,减少 Conda 或用户 Profile 对运行时、编码和模块搜索路径的干扰。凭据实现直接调用 Windows DPAPI,不依赖 Microsoft.PowerShell.Security 模块;现有 Agent 进程直接调用脚本时,先完成 self-test。
  • 不依赖 CLI 当前激活 Profile 或残留环境变量判断业务身份。每次操作都显式解析逻辑 Profile,并在写前只读验证。
  • 删除 Profile、撤销 PAT、改变默认身份或安装系统软件会影响后续工作,执行前说明影响并取得明确授权。

工作流

  1. 读取 身份与授权路由。发现 aliyun;缺失时使用阿里云官方安装方式。执行 aliyun version。
  2. 云效任务额外执行 aliyun plugin install --names aliyun-cli-devops(安装/升级需授权),再用 aliyun devops version 与 aliyun devops --help 验证插件。
  3. 对阿里云通用账号:回读 aliyun configure list,选择最小风险的官方认证方式;优先短期/联合身份(CloudSSO、OAuth、RAM Role),只在确有必要时使用长期 AK。
  4. 对云效:从 GLOBAL 与项目规则解析中心版/Region版、组织 ID/API Base URL和逻辑凭据槽;Windows 优先使用 宿主凭据槽,其他宿主使用隐藏输入仅注入当前进程,再执行最小只读请求验证真实组织访问。
  5. 新增或恢复成功后,回读实际身份、组织和权限边界;只把稳定非敏感映射写入 ALIYUN_PROFILES.md。项目专属命名空间、仓库、流水线和环境路由写入对应项目。
  6. 换机时重新安装 CLI/插件并重新授权,不复制明文凭据。删除或撤销前搜索 GLOBAL 与项目引用,确认替代路由并在操作后复验其他 Profile。

转交项目 Skill

身份已验证后立即回到调用方项目 Skill。仓库创建、成员权限、保护分支、流水线、MR 评论/批准/合并和部署都不因本 Skill 的认证成功而自动获得授权。

Read the full file on GitHub · 39 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 39 lines · 91 tokens per session scan A 52d798956f77

Subscribe to this mod's changes

aliyun-profile is a skill published in the GitHub repository DongLiStudio/personal-agent-foundation (16 stars, last pushed yesterday), licensed Apache-2.0. It adds 91 tokens to every session and 1,109 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-14.

Related

Other skills, from other repositories

harbor-daytona

Use Harbor's Daytona sandbox platform for computer use — creating sandboxes, taking screenshots, sending mouse/keyboard input, and building agent loops. Use when the user wants to interact with a GUI, automate a desktop, do computer use, control a browser visually, or run Claude computer use against a Daytona sandbox.

av/harbor · 67 tokens

boost-modules

Skill "boost-modules" from av/harbor, covering harbor boost custom modules, module structure, quick reference, output methods and stream text to client.

av/harbor · 0 tokens

token-usage

Nested swiss-knife reference for token usage, cost, cache, and tool-call/API-call reports. Use for model cost reports, cache rates, budget/burn analysis, and tools-per-API-call trends across LingTai logs.

Lingtai-AI/lingtai · 50 tokens

composio

Build AI agents and apps with Composio - access 200+ external tools with Tool Router or direct execution.

aAAaqwq/AGI-Super-Team · 26 tokens

security-arsenal

Security payloads, bypass tables, wordlists, gf pattern names, always-rejected bug list, and conditionally-valid-with-chain table. Use when you need specific payloads for XSS/SSRF/SQLi/XXE/NoSQLi/command injection/SSTI/IDOR/path-traversal/HTTP smuggling/WebSocket/MFA bypass, bypass techniques, or to check if a finding…

uphiago/recon-skills · 103 tokens

frontmcp-development

Use when building any FrontMCP server component other than a tool (for tools, use create-tool). Covers @Resource static resources and parameterized URI templates; @Prompt reusable prompts (RAG, multi-turn); @Provider singleton dependency-injection providers (database pools, API clients); @Agent autonomous LLM agents…

agentfront/frontmcp · 196 tokens