Agent skill

Share Session Learnings with the Team

by Tencent in Tencent/teamai-cli

Summarizes what an AI coding session solved or discovered and publishes it to the team knowledge base with the teamai contribute command.

Custom licenceAuto-check passedKnowledge Management

Install Share Session Learnings with the Team

skills CLI
$ npx skills add Tencent/teamai-cli --skill share -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Tencent/teamai-cli share --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Tencent/teamai-cli.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skill-data/share .claude/skills/share && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
share
GitHub stars
5.1k
Token cost
~727 tokens
SKILL.md length
362 words
Files
2 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
Custom licence

At a glance

Summarizes what an AI coding session solved or discovered and publishes it to the team knowledge base with the teamai contribute command.

  • Works in 4 steps: Summarize: review the tools used, the… → Write the document: a Markdown document… → Save it: write the document to a… → …
  • Wrapping up a long session after solving a tricky problem
  • SKILL.md covers When to Use, How It Works, Document Template and Example, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

At the end of a useful session, the agent reviews the tools used, the problems solved and the patterns found, then writes a Markdown document covering the task, the key decisions and why they were made, the solution or workaround, which tools or skills helped, and the pitfalls. The document is written in Simplified Chinese, while commands, flags, paths and code identifiers stay as they are.

The document needs the frontmatter from `references/doc-template.md`, which also holds the tag taxonomy and is what makes the entry searchable. The agent saves the text to a temporary file and runs `teamai contribute` with the file path and a title. The result lands on the team repo's `teamai-learnings` branch under `learnings/` without a pull request, and teammates see it after their next `teamai pull`. The skill recommends running it as a sub-agent to keep the main session's context clean and keeping the write-up short and actionable. Publishing a reusable skill is a different flow, handled by the core skill.

When your agent uses it

  • Wrapping up a long session after solving a tricky problem
  • Recording a workflow or pattern the team should reuse
  • Responding to a teamai reminder that a session is worth sharing

Example prompts

  • “Share what we learned fixing the Kubernetes pod startup timeouts with the team.”
  • “Write up this session's workaround for the flaky build and contribute it to the team knowledge base.”
  • “Summarize today's debugging session and push it with teamai contribute.”

Requirements

  • The `teamai` CLI
  • Access to the team's knowledge base repository

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Summarize: review the tools used, the problems solved and the patterns found in this session
  2. Write the document: a Markdown document (language as above) covering
  3. Save it: write the document to a temporary file
  4. Push it to the team: run teamai contribute --file --title ""

What it can do on your machine

Read from SKILL.md and the folder at commit f287dcb. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are bash).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Share Session Learnings with the Team loads about 727 tokens when it runs, and up to ~1k if it reads all its reference files. Until then it costs about 69 tokens; SKILL.md has 362 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~69
When it runs · the whole SKILL.md, loaded when a task matches
~727
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 362 words (~727 tokens).

“Summarize what this AI coding session taught you and push it to the team knowledge base.”

— opening of SKILL.md by Tencent, Custom licence
name
share

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in skill-data/share of Tencent/teamai-cli.

  • SKILL.md
  • references/doc-template.md

Open the folder on GitHubat commit f287dcb

Compare with similar skills

Share Session Learnings with the Team next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Share Session Learnings with the Team compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Share Session Learnings with the Team this skillTencent/teamai-cli5.1k—~727Automated safety check: PassCustom licence
Tech Distilleryaofeino1/tech-distiller144—~1.2kAutomated safety check: PassNone
ZreadZreadAI/zread-skill177—~1.4kAutomated safety check: PassNone
LLM WikiCharlesHoskinson/sevenlayer116—~1.5kAutomated safety check: PassCustom licence
New LoopAI-Builder-Club/skills1.3k—~1.2kAutomated safety check: NotesNone
Docs Knowledge Baseagglayer/agglayer117—~344Automated safety check: PassApache-2.0

Similar skills

  • Tech Distiller

    yaofeino1/tech-distiller

    Collects technical documents from URLs, files, wikis or APIs, filters them by role or technical direction, and writes a structured report on architecture, algorithms and design decisions.

    144 GitHub stars~1.2k tokensUpdated 6 mo ago
    Knowledge ManagementAuto-check passed
  • Zread

    ZreadAI/zread-skill

    Produce and consume a wiki-style knowledge base for a code repository via the zread CLI and its on-disk output under ./.zread/wiki/.

    177 GitHub stars~1.4k tokensUpdated 6 mo ago
    Knowledge ManagementAuto-check passed
  • LLM Wiki

    CharlesHoskinson/sevenlayer

    Builds and maintains a persistent, interlinked Obsidian-compatible markdown knowledge wiki in a git repo via three operations — ingest a source into linked pages, answer a question from the…

    116 GitHub stars~1.5k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • New Loop

    AI-Builder-Club/skills

    Spin up a new loop (domain) in a file-based knowledge base — bootstrap the substrate if it's missing, gather the loop's charter, scaffold domains/<loop/README.md, then do ONE real test run and…

    1.3k GitHub stars~1.2k tokensUpdated 22 days ago
    Knowledge ManagementAuto-check: notes
  • Docs Knowledge Base

    agglayer/agglayer

    Create or update docs/knowledge-base/ chapters in mdbook format for human-first technical documentation.

    117 GitHub stars~344 tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Obsidian Writer

    Atmosphere/atmosphere

    Write well-formatted notes to the atmosphere-vault Obsidian knowledge base.

    3.8k GitHub stars~2.6k tokensUpdated yesterday
    DevOps & CloudAuto-check passed

More from Tencent/teamai-cli

  • Compresses a large multi-repository codebase into a structured knowledge base through architecture reverse-engineering, a Graph RAG graph and AST analysis.

    5.1k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • TeamAI Team Sync

    Tencent/teamai-cli

    Make every team AI native — TeamAI syncs a team's AI skills, rules, docs and env across AI coding tools. Use when the task operates on team-shared AI…

    5.1k GitHub stars~632 tokensUpdated today
    Auto-check passed
  • TeamAI Daily Workflow

    Tencent/teamai-cli

    Routes /teamai requests to the right workflow for syncing team skills and rules, checking status, diagnosing problems and contributing, for users who may not know Git.

    5.1k GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • TeamAI Setup and Lifecycle

    Tencent/teamai-cli

    Walks a non-technical user through creating or joining a TeamAI team repo, then managing members, roles, MCP, and environment settings.

    5.1k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Share Session Learnings with the Team

What does Share Session Learnings with the Team do?

Summarizes what an AI coding session solved or discovered and publishes it to the team knowledge base with the teamai contribute command. At the end of a useful session, the agent reviews the tools used, the problems solved and the patterns found, then writes a Markdown document covering the task, the key decisions and why they were made, the solution or workaround, which tools or skills helped, and the pitfalls. The document is written in Simplified Chinese, while commands, flags, paths and code identifiers stay as they are.

When should I use Share Session Learnings with the Team?

Share Session Learnings with the Team fits situations like: wrapping up a long session after solving a tricky problem; recording a workflow or pattern the team should reuse; responding to a teamai reminder that a session is worth sharing.

How do I install Share Session Learnings with the Team in Claude Code?

Run `npx skills add Tencent/teamai-cli --skill share -a claude-code`. Or copy the skill folder (skill-data/share in Tencent/teamai-cli) into .claude/skills/share in your project. Claude Code loads it when a task matches its description.

How do I install Share Session Learnings with the Team in Codex?

Run `npx skills add Tencent/teamai-cli --skill share -a codex`. Or copy the skill folder (skill-data/share in Tencent/teamai-cli) into .agents/skills/share in your project. Codex loads it when a task matches its description.

Can I use Share Session Learnings with the Team in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Tencent/teamai-cli --skill share -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/share, .gemini/skills/share, .github/skills/share and .opencode/skills/share in your project.

What does Share Session Learnings with the Team need to run?

SKILL.md names no scripts, command-line tools or credentials: Share Session Learnings with the Team is instructions for the agent only. Our summary lists: The `teamai` CLI; Access to the team's knowledge base repository.

Does Share Session Learnings with the Team access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Share Session Learnings with the Team safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Share Session Learnings with the Team use?

Share Session Learnings with the Team has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Share Session Learnings with the Team use?

About 727 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 291 tokens, read only when the agent opens those files.

What are the alternatives to Share Session Learnings with the Team?

Skills that share tags, products or a category with Share Session Learnings with the Team: Tech Distiller (yaofeino1/tech-distiller, 144 stars), Zread (ZreadAI/zread-skill, 177 stars), LLM Wiki (CharlesHoskinson/sevenlayer, 116 stars) and New Loop (AI-Builder-Club/skills, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Share Session Learnings with the Team?

Tencent (a GitHub organization) maintains it in Tencent/teamai-cli, which has 5,143 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 7, 2026.

Source: Tencent/teamai-cli on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.