Borrowing it
Nothing to install: this file belongs to themoment-team/datagsm-server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/themoment-team/datagsm-server/master/.agents/skills/kotest-guide/SKILL.mdgit clone --depth 1 https://github.com/themoment-team/datagsm-serverWrote 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.
[](https://agentmods.dev/skills/themoment-team/datagsm-server/kotest-guide)<a href="https://agentmods.dev/skills/themoment-team/datagsm-server/kotest-guide"><img src="https://agentmods.dev/badge/skills/themoment-team/datagsm-server/kotest-guide/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/themoment-team/datagsm-server/kotest-guide"><img src="https://agentmods.dev/badge/skills/themoment-team/datagsm-server/kotest-guide.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.00726 |
| Opus 5.5 | $0.00018 | $0.00290 |
| Sonnet 5.5 | $0.00009 | $0.00145 |
| Haiku 4.5 | $0.00005 | $0.00073 |
Grade A, and why
kotest-guide 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 29d 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.
How it starts
The opening of the file, as written. The whole thing — 130 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Kotest + MockK Testing Guide
Given-When-Then Pattern
Use Kotest DescribeSpec with describe / context / it blocks.
class CreateApiKeyServiceTest : DescribeSpec({
lateinit var repository: ApiKeyRepository
lateinit var service: CreateApiKeyService
beforeEach {
repository = mockk()
service = CreateApiKeyServiceImpl(repository)
}
describe("CreateApiKeyService 클래스의") {
describe("execute 메서드는") {
context("유효한 요청인 경우") {
it("API 키를 생성하고 반환한다") {
// Given
val reqDto = CreateApiKeyReqDto(clientId = "test-client")
val apiKey = ApiKey(id = 1L, key = "generated-key")
every { repository.save(any()) } returns apiKey
// When
val result = service.execute(reqDto)
// Then
result shouldNotBe null
result.apiKey shouldBe "generated-key"
verify(exactly = 1) { repository.save(any()) }
}
}
}
}
})
MockK Patterns
Mock Creation
private val repository: ApiKeyRepository = mockk()
private val service = ApiKeyService(repository)
Stubbing
// Regular function
every { repository.findById(1L) } returns Optional.of(apiKey)
// Coroutine
coEvery { repository.save(any()) } returns apiKey
// Any matcher
every { repository.save(any()) } returns apiKey
Verification
// Verify call count
verify(exactly = 1) { repository.save(any()) }
verify(atLeast = 1) { repository.findAll() }
// Verify not called
verify(exactly = 0) { repository.delete(any()) }
// Coroutine
coVerify(exactly = 1) { repository.save(any()) }
Argument Capture
val slot = slot<ApiKey>()
every { repository.save(capture(slot)) } returns apiKey
service.execute(reqDto)
slot.captured.key shouldBe "expected-key"
Coroutine Testing
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.
- 29d ago First seen · 130 lines · 46 tokens per session scan A 2fd00d5bd756
kotest-guide is a skill published in the GitHub repository themoment-team/datagsm-server (29 stars, last pushed yesterday), licensed MIT. It adds 46 tokens to every session and 726 once invoked, about $0.0002 per session on Opus 5.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-10-08.
kotest-guide compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| kotest-guidethemoment-team/datagsm-server | Skill | 29 | yesterday | MIT | A | 46 | Claude Code, Codex |
| write-fixturenaver/fixture-monkey | Skill | 699 | 5d ago | Apache-2.0 | A | 42 | Claude Code |
| test-triageniki914/zafiro | Skill | 340 | 4d ago | MIT | A | 71 | Claude Code, Codex |
| test-hang-watchdogniki914/zafiro | Skill | 340 | 4d ago | MIT | A | 66 | Claude Code, Codex |
| coding-guardexplyt/spring-plugin | Skill | 167 | yesterday | Apache-2.0 | A | 67 | Claude Code, Codex |
| review-core-correctnessexplyt/spring-plugin | Skill | 167 | yesterday | Apache-2.0 | A | 67 | Claude Code, Codex |
| develop-gutter-navigation-featureexplyt/spring-plugin | Skill | 167 | yesterday | Apache-2.0 | A | 142 | Claude Code, Codex |