Lark Contact Skill for Codex: Confirm Your Test Profile
Use the Lark CLI contact skill to confirm which personal test account is active. Ask for the display name and avoid listing the directory.
中文Setup for Codex (requires Lark CLI)
Codex with terminal access, the official Lark CLI, and a Lark test user authorized to inspect its own account. Use a fictional display name for the practice check.
- Install the official Lark CLI using its pinned quick start and sign in to the test workspace as a user.
- Copy the pinned lark-contact and lark-shared directories into the project’s .agents/skills directory. Preserve their reference files.
- Start a Codex session, invoke $lark-contact, and review the current-user command lark-cli contact +get-user --as user before running the example.
Example task
Use $lark-contact to confirm the active user in my demo account. The expected display name is Practice Reader. Read the current profile and return only the display name and whether it matches. This test needs only my own account.Expected result
With Practice Reader signed in and authorized, the response shows the display name and a match. A different test profile produces a mismatch. An authorization error is reported as such instead of inferring which account is active.
Upstream documentation
Original SKILL.md on GitHub · MIT license · Source reviewed
Frequently asked question
Can the current-user query identify a different colleague?
The current-user example identifies the signed-in profile. A lookup of another directory entry is a separate query with its own target and scope.