file-sharing

file-sharing is a skill for Claude Code, Codex from agentscope-ai/AgentTeams. It costs 49 tokens per session (507 once invoked), scanned A, original, Apache-2.0.

Instructions for sharing task and project files through approved local shared folders. They define when files should be pulled or pushed and how task lifecycle operations handle synchronization.

In plain words
What is it for?
Use them before reading shared project context, making direct file-sync calls, troubleshooting missing shared files, or sharing progress outside the normal task submission process.
Why use it?
They reduce confusion about where shared files are stored and prevent accidental use of internal storage paths or unnecessary placeholder directories.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

About the project

AgentTeams is a runtime platform where multiple AI agents collaborate in shared Matrix rooms under the coordination of a manager. It is for human-supervised or enterprise workflows that need visible, auditable cooperation among agents running on different runtimes, with shared files and centralized traffic management.

agentscope-ai/AgentTeams · 5,567 stars · on GitHub · aliyun.com

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.

agentmods
npx agentmods add skills/agentscope-ai/agentteams/file-sharing
Any agent
npx skills add agentscope-ai/AgentTeams --skill file-sharing
Clone the repo
git clone --depth 1 https://github.com/agentscope-ai/AgentTeams

Made for: Claude Code, 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 file-sharing

README.md
[![agentmods](https://agentmods.dev/badge/skills/agentscope-ai/agentteams/file-sharing.svg)](https://agentmods.dev/skills/agentscope-ai/agentteams/file-sharing)
Your own site
<a href="https://agentmods.dev/skills/agentscope-ai/agentteams/file-sharing"><img src="https://agentmods.dev/badge/skills/agentscope-ai/agentteams/file-sharing.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 507 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00049 $0.00507
Opus 5 $0.00024 $0.00253
Sonnet 5 $0.00010 $0.00101
Haiku 4.5 $0.00005 $0.00051

Measured 6d ago against content hash bf80f8b497d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

file-sharing 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 6d ago.

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.

manager/agent/copaw-worker-agent/skills/file-sharing/SKILL.md · 73 lines

What it actually says

File Sharing

Use local shared paths only. Do not expose storage internals.

Local Paths

Use:

  • shared/tasks/{task-id}/
  • shared/projects/{project-id}/ only for read-only project context

Directory sync paths must end with /. If a directory pull fails, report the filesync result instead of creating local placeholder directories or switching to absolute paths.

Do not use in chat, task outputs, or normal reasoning:

  • agentteams/agentteams-storage/...
  • teams/{team}/shared/...
  • /root/agentteams-fs/...
  • /root/agentteams-fs/agents/...

Task Lifecycle Sync

taskflow(action="ack_task") and taskflow(action="submit_task") handle all task lifecycle file sync internally (pull, push, stat). Do not call filesync separately for these operations.

Non-Task Shared Files

For shared files outside the task lifecycle (project context, reference materials), call filesync before reading:

{
  "action": "pull",
  "payload": {
    "path": "shared/projects/{project-id}/"
  }
}

To push mid-task progress or non-result files that the coordinator needs before submission:

{
  "action": "push",
  "payload": {
    "path": "shared/tasks/{task-id}/progress/",
    "exclude": ["spec.md", "base/"]
  }
}

If You Cannot Find Files

  1. Call filesync with action="pull" for shared/tasks/{task-id}/.

  2. Check pwd, then check the local relative path from the task message:

    pwd
    ls -la
    ls -la shared/tasks/{task-id}/
    
  3. If still missing, @mention your coordinator with the filesync outcome and the exact local path you checked:

@coordinator:domain BLOCKED: I pulled shared/tasks/{task-id}/ but cannot find shared/tasks/{task-id}/spec.md.

Do not search random container absolute paths or create the missing task directory yourself.

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. 6d ago First seen · 73 lines · 49 tokens per session scan A bf80f8b497d0

Subscribe to this mod's changes

file-sharing is a skill published in the GitHub repository agentscope-ai/AgentTeams (5,567 stars, last pushed today), licensed Apache-2.0. It adds 49 tokens to every session and 507 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

ship

Ship workflow: detect + merge base branch, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, and create a PR. Use for an explicit /ship invocation or when the user requests the full ship, release, or deploy workflow. For an ordinary commit, push, or pull-request publishing request, use the built-in…

GCWing/BitFun · 88 tokens

plan-ceo-review

CEO/founder-mode plan review. Rethink the problem, find the 10-star product, challenge premises, expand scope when it creates a better product. Four modes: SCOPE EXPANSION (dream big), SELECTIVE EXPANSION (hold scope + cherry-pick expansions), HOLD SCOPE (maximum rigor), SCOPE REDUCTION (strip to essentials). Use when…

GCWing/BitFun · 143 tokens

plan-eng-review

Eng manager-mode plan review. Lock in the execution plan — architecture, data flow, diagrams, edge cases, test coverage, performance. Walks through issues interactively with opinionated recommendations. Use when asked to "review the architecture", "engineering review", or "lock in the plan". Proactively suggest when…

GCWing/BitFun · 116 tokens

autoplan

Auto-review pipeline — reads the full CEO, design, eng, and DX review skills from disk and runs them sequentially with auto-decisions using 6 decision principles. Surfaces taste decisions (close approaches, borderline scope, codex disagreements) at a final approval gate. One command, fully reviewed plan out. Use when…

GCWing/BitFun · 152 tokens

design-review

Designer's eye QA: finds visual inconsistency, spacing issues, hierarchy problems, AI slop patterns, and slow interactions — then fixes them. Iteratively fixes issues in source code, committing each fix atomically and re-verifying with before/after screenshots. For plan-mode design review (before implementation), use…

GCWing/BitFun · 125 tokens

pre-landing-review

Pre-landing PR review. Analyzes diff against the base branch for SQL safety, LLM trust boundary violations, conditional side effects, and other structural issues. Use when explicitly asked for the specialized pre-landing workflow. Product /review requests are handled by BitFun's unified Review mechanism instead.…

GCWing/BitFun · 74 tokens