I agree with markopolo. All of your listed fish should get along fine (my CPDs, cardinal tetras, pencil fish, panda corys, otos, ember tetra, amano shrimp, and cherry shrimp are rather friendly with each other). However…
CPDs are not voracious eaters and may not get enough food, if you are not careful. First of all, all flake and mini-pellet feedings should probably be wetted before putting in the tank, so they sink. I’ve seen CPDs come to the surface for food, but it takes them a while — by then, the food will probably be gone in a community tank. For one of my 3 feedings each day, I use 3 types of sinking wafers (2 types of wafers and shrimp pellets) — the CPDs always go for these (especially the shrimp pellets). I also feed BBS (baby brine shrimp) every other day, which the CPDs enjoy.
Part of the problem with CPDs is that they are often very shy (especially when they have places to hide — like in a planted aquarium). When I feed, I step away from the aquarium or get on my knees — this encourages them to come out and feed.
Lastly, break flakes into small pieces and use very small pellet-type food — CPDs have small mouths.