Activity Logのロゴ

Activity Log

コミュニティ
jmagly
activity-log

Query and manage the unified .aiwg/activity.log chronological record of AIWG-managed workflow operations

概要

公開者jmagly
リポジトリaiwg
スキル名activity-log
スター
225
フォーク
34
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    jmaglyがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Activity Log」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/aiwg-utils/skills/activity-log
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jmagly/aiwg.git /tmp/aiwg
mkdir -p .claude/skills
cp -r /tmp/aiwg/agentic/code/addons/aiwg-utils/skills/activity-log .claude/skills/activity-log
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでActivity Logを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にActivity Logを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Activity Logは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Activity Log

You query and manage the unified .aiwg/activity.log — a chronological record of all framework operations across SDLC, research, and other AIWG-managed workflows.

Triggers

Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):

  • "what happened recently" → show (default limit)
  • "show me today's activity" → show --since today's date
  • "log a create operation" → append create
  • "how many deploys have we done" → stats
  • "activity since last week" → show --since YYYY-MM-DD

Trigger Patterns Reference

PatternExampleAction
Recent activity"show activity log"activity-log show
Filtered by date"activity since 2026-04-10"activity-log show --since 2026-04-10
Filtered by operation"show all deploys"activity-log show --operation deploy
Limited output"last 5 entries"activity-log show --limit 5
Manual append"log that we archived the SAD draft"activity-log append archive <summary>
Statistics"how many operations by type"activity-log stats

Behavior

When triggered:

  1. Identify the subcommand:

    • show — display entries, optionally filtered
    • append — add a manual entry
    • stats — summarize operation counts and date range
  2. Locate the log file: .aiwg/activity.log relative to the project root. If the file does not exist, report it as empty (do not error).

  3. Execute the subcommand:

show

Display entries in reverse-chronological order (newest first).

bash
# Show last 20 entries (default)
aiwg activity-log show

# Filter by date (inclusive)
aiwg activity-log show --since 2026-04-10

# Filter by operation type
aiwg activity-log show --operation deploy

# Limit output count
aiwg activity-log show --limit 5

# Combine filters
aiwg activity-log show --since 2026-04-10 --operation create --limit 10

Accepted --operation values: ingest, create, update, delete, query, lint, deploy, archive, promote

append

Add a manual entry with the current UTC timestamp.

bash
# Append a manual entry
aiwg activity-log append <operation> "<summary>"

Example:

bash
aiwg activity-log append create "UC-011-logout.md created manually during team review"

The entry is written in standard format:

## [2026-04-12 14:33] create | UC-011-logout.md created manually during team review

Reject invalid operation tokens with a clear error listing the nine valid tokens.

stats

Summarize operation counts grouped by type and show the date range covered.

bash
aiwg activity-log stats

Output format:

Activity Log Statistics
Log file: .aiwg/activity.log
Date range: 2026-04-01 → 2026-04-12 (12 days)
Total entries: 47

By operation:
  create    18  ████████████████████  38%
  update    12  █████████████         26%
  deploy     7  ████████               15%
  archive    4  ████                    9%
  lint       3  ███                     6%
  promote    2  ██                      4%
  delete     1  █                       2%

Examples

Example 1: Recent activity overview

User: "What's happened in the activity log recently?"

Extraction: show subcommand, default limit

Action:

bash
aiwg activity-log show --limit 10

Response: Last 10 entries from .aiwg/activity.log newest first. If the file is absent, report "No activity log found at .aiwg/activity.log — operations will create it automatically."

Example 2: Audit all deploys

User: "Show me all deploy operations since April 10th"

Extraction: show, --operation deploy, --since 2026-04-10

Action:

bash
aiwg activity-log show --operation deploy --since 2026-04-10

Response: Filtered entries matching deploy on or after 2026-04-10, newest first.

Example 3: Manual log entry

User: "Log that we archived the old SAD draft"

Extraction: append, operation = archive, summary from user phrase

Action:

bash
aiwg activity-log append archive ".aiwg/working/sad-draft-v0.1.md archived manually after SAD baseline"

Response: "Entry appended to .aiwg/activity.log."

Example 4: Operation statistics

User: "Give me a stats breakdown of the activity log"

Extraction: stats subcommand

Action:

bash
aiwg activity-log stats

Response: Tabular summary with operation counts, percentages, and date range.

Clarification Prompts

If the user's intent is ambiguous:

  • "Are you looking to read recent activity or record a new entry?"
  • "Which operation type should I filter on? Valid types: ingest, create, update, delete, query, lint, deploy, archive, promote."

Storage routing

aiwg activity-log routes through resolveStorage('activity_log') (#964). On the default fs backend, the log file is .aiwg/activity.log and the line format is byte-identical to the legacy echo >> .aiwg/activity.log pattern. Configuring .aiwg/storage.config redirects the log to a different filesystem location (via roots.activity_log) without changing how agents call the CLI.

References

  • @$AIWG_ROOT/agentic/code/addons/aiwg-utils/rules/activity-log.md — Rule that governs when agents must append entries
  • @$AIWG_ROOT/agentic/code/addons/aiwg-utils/skills/index/SKILL.md — Artifact index skill (complementary query tool)
  • @$AIWG_ROOT/.aiwg/architecture/storage-design.md — Storage adapter design (#934)
  • @$AIWG_ROOT/docs/cli-reference.md — CLI reference

よくある質問

AIスキル「Activity Log」では何ができますか?

Query and manage the unified .aiwg/activity.log chronological record of AIWG-managed workflow operations

TypingMindでActivity Logを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Activity Logはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにActivity Logをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/jmagly/aiwg/tree/main/agentic/code/addons/aiwg-utils/skills/activity-logを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Activity Logを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Activity Logで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもActivity Logを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Activity Log」は無料ですか?

はい。jmaglyがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇