Skip to content
MyDSHMy DSH Field Notes
中文
Independently maintained; not affiliated with DeepSeek. No association with mydsh.dev or other MyDSH sites.

Home/Getting started/Your first task

First smoke task: list a directory and count files

It is installed and you are unsure what it can do, or you want to prove tool calls actually work. Use an instruction that costs nothing, risks nothing, and whose answer you can check yourself.

VerifiedVersion and environmentChecked 2026-11-14
Host version
0.1.2-alpha.5 or newer
Checked
2026-11-14

Copyable command

List every file and folder in the current working directory and tell me how many there are. Then give only the first three names, do not list them all.

A smoke task needs three properties: you can check the answer yourself, it needs no network, and failure is obvious. Counting files satisfies all three.

The instruction

List every file and folder in the current working directory and tell me how many there are in total. Then give only the names of the first three, do not list them all.

The 'only the first three' clause is deliberate. Without it, a directory with thousands of files floods the output and you still have to judge whether it finished.

How to check it

  • Count them yourself: ls -1 | wc -l (macOS, Linux, Git Bash) or dir /b | find /c /v "" (cmd).
  • Matching numbers mean it really read the directory instead of inventing a figure.
  • Three names only means it honoured the constraint — that matters more than the count matching.

Why not start with 'hello'

A greeting only exercises the model channel, never a tool. It proves the key works, not that it can read your files or run a command. The latter is exactly what you want to verify after install.

One step further

Once the smoke task passes, try one with a write to map the permission boundary:

Create smoke.txt in this directory containing today's date and the file count for this directory. Then read the file back to me.

If it creates the file, write permission is open; if it is refused, check the allowlist in the permissions group. Five minutes tells you the state of both read and write.

What counts as working

Check every line. All of them pass or the job is not done.

  • Its count matches yours
  • Only three names given, not the whole list
  • The advanced version creates the file and reads it back

Where it fails

Symptom, cause, what to do — written in the order it actually happens.

SymptomCauseWhat to do
The count is wrongWrong working directory, or it only counted top-level filesName the exact path and state whether subdirectories are included
It says it cannot access filesFile permission is off or the workspace is wrongCheck the allowlist, and confirm the session workspace is the directory you meant
Output is truncatedThe directory is too largeUse a smaller one, or add a 'first three only' style limit

Sources

Verified means measured here. Compiled means every line carries a source.