share
What it does
This skill teaches an agent how to summarize what a coding session solved or learned. It then saves that summary to the team's shared knowledge base, so others can find it.
When to use it
- ✓When a user wants to share what a coding session taught the whole team.
- ✓When a session found a workaround or fix that others on the team should know.
- ✓When TeamAI shows a reminder to share learnings from a session that just ended.
Skill link
https://github.com/Tencent/teamai-cli/blob/main/skill-data/share/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Please summarize what I figured out in this session and share it with the team knowledge base.”
5 new skills a week. 1 minute to read.
How it works
The agent reviews the session and writes a short learning document with a title and namespace. It publishes it with the teamai contribute command after the person approves.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Contribute — share what a session taught you with the team
Summarize what this AI coding session taught you and push it to the team knowledge base.
Who sent you here
- The
learningstep of ateamai-share-learningsrun (its brief names this skill): work steps 1–3 of How It Works with the person, in this session rather than a sub-agent. The session may have taught more than one thing: write each learning the person wants to share to its own document outside the repository, and return them as the list the brief asks for, each with its path, title and learnings namespace; return an empty list when nothing is worth sharing. Do not runteamai contribute: the run'scontributestep runs it for each one after its approval. - The friction reminder (its
[teamai]text namesteamai skill get share): teamai already found thatteamai-share-learningscannot run here. Follow How It Works to the end. - The person asked to share what this session taught, or to close it: start the
teamai-share-learningsworkflow (to only publish or score it,teamai-share-session). Runteamai workflow start --describe teamai-share-learnings --driver skill, give the person each proposed input with itswhy, and start it with those values once they confirm or change them (teamai skill get workflowcovers the run). Itslearningstep brings you back here. When describe refuses it (invoke_denied,unattended_denied,nested_workflow), tell the person why and follow How It Works to the end. - Anything else in When to Use: follow How It Works to the end.
Write the document in Simplified Chinese, as earlier releases required. Commands, flags, URLs, paths and code identifiers stay as they are.
When to Use
- When teamai suggests this session has valuable content worth sharing
- When you've solved a tricky problem and want to document the solution
- When you've discovered a useful workflow or pattern
- After a long session with diverse tool usage
- When
teamai scoreprinted a label that did not pass: read the reasoning file it names (<dataHome>/scores/reasoning/<labelVersion>.md) and turn what went wrong into a learning, contributed with the--session-idthat line gives, if any. Summarize it; do not paste the file
How It Works
- Summarize: review the tools used, the problems solved and the patterns found in this session
- Write the document: a Markdown document (language as above) covering:
- What the task or problem was
- The key decisions and why they were made
- The solution, workaround or pattern discovered
- Which tools or skills proved especially useful
- Pitfalls and things to watch out for
- Save it: write the document to a temporary file
- Push it to the team: run
teamai contribute --file <path> --title "<title>"
Document Template
Copy the template, the frontmatter field table and the tag taxonomy from
{SKILL_DIR}/references/doc-template.md. The frontmatter is required: it is what
makes the document searchable.
Example
# After writing the summary to /tmp/session-summary.md
teamai contribute --file /tmp/session-summary.md --title "Debugging K8s pod startup timeouts"
Important
- Outside a
teamai-share-learningsrun, run this as a sub-agent (Agent tool) to avoid polluting the main session's context - The document is pushed to the team repo's
teamai-learningsbranch, underlearnings/, with no pull request - Team members will see it on their next
teamai pull - Keep summaries concise and actionable — this is a knowledge base, not a diary
Publishing a reusable skill instead
A member asking to publish a skill ("share this xxx skill with my team") is a
different flow, and it does not need recall: it lives in the core skill, at
"$(teamai skill path core)/references/contribute-member.md". This file
is for turning a session into a learning.
References
In the files below, {SKILL_DIR} is the directory teamai skill path share prints; a reference file you open on its own writes that directory as SKILL_DIR in braces.
| File | When to load it |
|---|---|
{SKILL_DIR}/references/doc-template.md |
Writing the learning document: template, frontmatter fields, tag taxonomy. |
teamai skill get share --full prints this skill with its reference appended.
FAQ
Will my session be shared automatically?
No. The skill says a learning is shared only after the person approves it.
Do I need to write the summary myself?
No. The agent drafts it from the session, and you confirm what to share.
Can one session produce more than one learning?
Yes. The skill says a session can teach more than one thing, and each one gets its own document.
Details
Original description by the author
Turn a session into a team learning: summarize what was solved, discovered or worked around, and publish it to the team knowledge base with `teamai contribute`. Loaded on demand by the teamai discovery stub, by the learning step of the teamai-share-learnings workflow, and by the friction reminder where teamai-share-learnings is not offered.
repo: Tencent/teamai-cli
Popularity
- GitHub stars
- 5.7k
- Ranking position
- #14743
- License
- —
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
core
5.7kHelps your agent sync your team's shared AI skills and rules with pull and push, check their status, run a health check, and reach other TeamAI workflows.
setup
5.7kHelps your agent set up TeamAI for a team, either by creating a new team repo as admin or joining an existing one, and manage members, roles, and removal.
wiki
5.7kHelps your agent turn a large multi-repo codebase into a structured knowledge base, where each conclusion links to the code line it came from.
workflow-local
5.7kHelps your agent run a team workflow unattended on this machine, for CI jobs or cloud agents, with every answer decided before the run starts.
Similar skills
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
configure-channel
394kTeaches your agent to connect a chat app such as Telegram to OpenClaw, store the bot token safely, and check that messages flow.
discord
394kHelps your agent read, send, edit, and react to Discord messages through OpenClaw, checking the exact message before making changes.